Thread (36 messages) 36 messages, 7 authors, 2022-07-12

Re: [PATCH 07/10] input: keyboard: adp5588-keys: fix coding style warnings

From: Andy Shevchenko <hidden>
Date: 2022-07-08 15:10:43
Also in: linux-devicetree, linux-gpio

On Fri, Jul 8, 2022 at 5:05 PM Sa, Nuno [off-list ref] wrote:
quoted
From: Andy Shevchenko <redacted>
Sent: Friday, July 8, 2022 4:50 PM
On Fri, Jul 8, 2022 at 11:36 AM Nuno Sá [off-list ref] wrote:
...
quoted
quoted
-#define ADP5588_KE_IEN         (1 << 0)
quoted
+#define ADP5588_KE_IEN         BIT(0)
This is actually a change. And if there wasn't bits.h included, you
would do it as well.
You mean because of it being unsigned now? Well, I guess it's true
but in practice I don't think it will have any side effect..
int --> unsigned long

FYI: We used to have bugs with this conversation in the past.

So, please amend the commit message accordingly. And as I mentioned,
this should probably be done before the rest of this patch.

-- 
With Best Regards,
Andy Shevchenko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help