iio:humidity:si7020: fix pointer to i2c client
authorHartmut Knaack <knaack.h@gmx.de>
Sat, 25 Oct 2014 18:09:06 +0000 (20:09 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sat, 25 Oct 2014 19:55:56 +0000 (20:55 +0100)
commite0922e5e3ccb78aa0152e93dfbd1755ac39c8582
treea934b635fcf21c220cec35ffafd549ae34bf0e78
parent345b48307d6961183be77748fc0ae5dd660c91a8
iio:humidity:si7020: fix pointer to i2c client

In si7020_read_raw() the pointer to the i2c client was obtained as second level
pointer, although a simple pointer is appropriate.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/humidity/si7020.c