Skip to content
Commit d4a4b78a authored by Liu Shixin's avatar Liu Shixin Committed by Jonathan Cameron
Browse files

iio: adc: palmas_gpadc: use module_platform_driver to simplify the code



module_platform_driver() makes the code simpler by eliminating
boilerplate code.

Signed-off-by: default avatarLiu Shixin <liushixin2@huawei.com>
Link: https://lore.kernel.org/r/20200914065401.3726354-1-liushixin2@huawei.com


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent d8f0cd76
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment