Skip to content
Commit aa709329 authored by Wolfram Sang's avatar Wolfram Sang Committed by Jonathan Cameron
Browse files

iio: light: bh1780: 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: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 3c23e9e8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment