misc: isl29003: simplify getting the adapter of a client
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sat, 8 Jun 2019 10:55:52 +0000 (12:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Jun 2019 15:29:49 +0000 (17:29 +0200)
commit1a0911a06c238a3ae7dfcd4ea309b0a280c4e5ff
tree7ac608dfc4eeb0d14885e2c0841323dda2e144b4
parent0154ec71d597692a0d0682b19eac4b3adfb7f3dc
misc: isl29003: 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/isl29003.c