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

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

 



On 13/07/2012, Jean Delvare <khali@xxxxxxxxxxxx> wrote:
> 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

Oops.. :)
I did not find it in the linux-next tree.. hence was not aware..

>
> --
> Jean Delvare
>


-- 
With warm regards,
Sachin

_______________________________________________
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