commit | 1c57d9bd29f63996b301fe92190713e39730d6ca | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | Sat Jun 08 12:55:43 2019 +0200 |
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | Sun Jun 09 13:11:04 2019 +0200 |
tree | c586e6dcd646bb39e633ce6b8cd21f32b4812b18 | |
parent | 1916ebfdfbacd3fa9a6fce72032cf612375c1183 [diff] |
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>