Re: [PATCH] power: ab8500_btemp: use builtin_platform_driver

2016-11-23 Thread Sebastian Reichel
Hi, On Wed, Nov 23, 2016 at 10:56:52PM +0800, Geliang Tang wrote: > Use builtin_platform_driver() helper to simplify the code. > > Signed-off-by: Geliang Tang > > [...] > > +builtin_platform_driver(ab8500_btemp_driver); > module_exit(ab8500_btemp_exit); builtin_XYZ()

Re: [PATCH] power: ab8500_btemp: use builtin_platform_driver

2016-11-23 Thread Sebastian Reichel
Hi, On Wed, Nov 23, 2016 at 10:56:52PM +0800, Geliang Tang wrote: > Use builtin_platform_driver() helper to simplify the code. > > Signed-off-by: Geliang Tang > > [...] > > +builtin_platform_driver(ab8500_btemp_driver); > module_exit(ab8500_btemp_exit); builtin_XYZ() followed by module_XYZ()

[PATCH] power: ab8500_btemp: use builtin_platform_driver

2016-11-23 Thread Geliang Tang
Use builtin_platform_driver() helper to simplify the code. Signed-off-by: Geliang Tang --- drivers/power/supply/ab8500_btemp.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/power/supply/ab8500_btemp.c

[PATCH] power: ab8500_btemp: use builtin_platform_driver

2016-11-23 Thread Geliang Tang
Use builtin_platform_driver() helper to simplify the code. Signed-off-by: Geliang Tang --- drivers/power/supply/ab8500_btemp.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/power/supply/ab8500_btemp.c b/drivers/power/supply/ab8500_btemp.c index