OSDN Git Service

iio: adc: twl6030-gpadc: Use the defined variable to clean code
authorTang Bin <tangbin@cmss.chinamobile.com>
Mon, 23 Aug 2021 09:59:21 +0000 (17:59 +0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 14 Sep 2021 11:00:32 +0000 (12:00 +0100)
commitb0fc3f1dbe2a577c22dc52900856597ad5ea6bb3
treee7df568971d5b5e61b77d040efde48b841c34e53
parent050098500ae4f73f76a775b26fdf6ee5ee5bef40
iio: adc: twl6030-gpadc: Use the defined variable to clean code

Use the defined variable "dev" to make the code cleaner.

Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20210823095921.16828-1-tangbin@cmss.chinamobile.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/twl6030-gpadc.c