[lm-sensors] [PATCH v2] hwmon: (it87) Convert to use devm_kzalloc and devm_request_region
Jean Delvare
khali at linux-fr.org
Sat May 12 17:39:51 CEST 2012
On Fri, 11 May 2012 14:42:32 -0700, Guenter Roeck wrote:
> From: Guenter Roeck <linux at roeck-us.net>
>
> This makes the code a bit simpler and smaller.
>
> Signed-off-by: Guenter Roeck <linux at roeck-us.net>
> ---
> v2: Also convert devm_request_region for further simplification
>
> drivers/hwmon/it87.c | 32 +++++++++-----------------------
> 1 files changed, 9 insertions(+), 23 deletions(-)
> (...)
Looks good.
Acked-by: Jean Delvare <khali at linux-fr.org>
It might make sense to rename ERROR4 to something more meaningful? With
only this label remaining, the name looks obscure.
--
Jean Delvare
More information about the lm-sensors
mailing list