summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-tca6507.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2019-06-08 12:55:43 +0200
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2019-06-09 13:11:04 +0200
commit1c57d9bd29f63996b301fe92190713e39730d6ca (patch)
treec586e6dcd646bb39e633ce6b8cd21f32b4812b18 /drivers/leds/leds-tca6507.c
parentleds: max77650: Remove set but not used variable 'parent' (diff)
downloadlinux-1c57d9bd29f63996b301fe92190713e39730d6ca.tar.xz
linux-1c57d9bd29f63996b301fe92190713e39730d6ca.zip
leds: leds-pca955x: simplify getting the adapter of a client
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'drivers/leds/leds-tca6507.c')
0 files changed, 0 insertions, 0 deletions