Re: [PATCH] power: ab8500_btemp: use builtin_platform_driver

From: Sebastian Reichel
Date: Wed Nov 23 2016 - 10:47:27 EST


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 <geliangtang@xxxxxxxxx>
>
> [...]
>
> +builtin_platform_driver(ab8500_btemp_driver);
> module_exit(ab8500_btemp_exit);

builtin_XYZ() followed by module_XYZ() is obviously wrong. I think
the driver could be made tristate, so lets do that (and then use
module_platform_driver() instead).

-- Sebastian

Attachment: signature.asc
Description: PGP signature