iio: chemical: atlas-ezo-sensor: move ret variable scope in atlas_ezo_read_raw()
authorMatt Ranostay <matt.ranostay@konsulko.com>
Sun, 31 May 2020 03:02:08 +0000 (06:02 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 14 Jun 2020 10:49:14 +0000 (11:49 +0100)
commit68ba6eee8d9a6350711c980b9c7f62b1f134dab6
treec4ab1dfdea7becad7aa03c28bb8142bc4b8c1c16
parent7d17577d49d68310aba991d7954b385478fda6c4
iio: chemical: atlas-ezo-sensor: move ret variable scope in atlas_ezo_read_raw()

Move ret variable to the IIO_CHAN_INFO_RAW switch since currently
only used within that scope.

Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/chemical/atlas-ezo-sensor.c