summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-mcp795.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-02-16 16:50:47 +0100
committerPavel Machek <pavel@ucw.cz>2021-02-19 22:15:50 +0100
commitb0a82efa51ad3ba1117817817cbabe9c9a37b893 (patch)
treed1e4166163add9567794c5fbcd8f20e4e26ccf5c /drivers/rtc/rtc-mcp795.c
parentleds: lp50xx: Update headers block to reflect reality (diff)
downloadlinux-b0a82efa51ad3ba1117817817cbabe9c9a37b893.tar.xz
linux-b0a82efa51ad3ba1117817817cbabe9c9a37b893.zip
leds: lp50xx: Get rid of redundant explicit casting
In the line like u32 bar = ...; u8 foo = (u8)(bar >> 8) & 0xff; is no need to have neither explicit casting nor ' & 0xff' part. Get rid of them. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/rtc/rtc-mcp795.c')
0 files changed, 0 insertions, 0 deletions