On Mon, Jan 24, 2011 at 11:44:30AM +0100, Wolfram Sang wrote:
> A few new i2c-drivers came into the kernel which clear the clientdata-pointer
> on exit or error. This is obsolete meanwhile, the core will do it. Simplify 
> the
> kfree() calls after that, the pointers don't need to be checked.
> 
> Signed-off-by: Wolfram Sang <[email protected]>
> Cc: Greg Kroah-Hartman <[email protected]>
> Cc: Mauro Carvalho Chehab <[email protected]>
> Cc: Andy Walls <[email protected]>
> Cc: Jarod Wilson <[email protected]>
> Cc: Joe Perches <[email protected]>
> ---
> 
> Compile tested only.

Looks sane to me.

Acked-by: Jarod Wilson <[email protected]>

-- 
Jarod Wilson
[email protected]

--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to