Re: [PATCH] hwmon: s3c-hwmon: Use devm_kzalloc instead of kzalloc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 13 Jul 2012 14:36:28 +0530, Sachin Kamat wrote:
> This makes the code simpler as explicit freeing is not needed.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx>
> ---
>  drivers/hwmon/s3c-hwmon.c |    7 ++-----
>  1 files changed, 2 insertions(+), 5 deletions(-)
>

I'm afraid Guenter was faster:

http://git.kernel.org/?p=linux/kernel/git/groeck/linux-staging.git;a=commitdiff;h=6f66b055060eee17b4c0c18f2d5c1efa04682e11

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux