[PATCH] power_supply: rt9455_charger: Fix error reported by static analysis tool

2015-06-12 Thread Anda-Maria Nicolae
The result of container_of macro cannot be NULL, so there is no need to check whether info is NULL. Signed-off-by: Anda-Maria Nicolae anda-maria.nico...@intel.com --- drivers/power/rt9455_charger.c |3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/power/rt9455_charger.c

Re: [PATCH] power_supply: rt9455_charger: Fix error reported by static analysis tool

2015-06-12 Thread Sebastian Reichel
Hi, On Fri, Jun 12, 2015 at 03:25:51PM +0300, Anda-Maria Nicolae wrote: The result of container_of macro cannot be NULL, so there is no need to check whether info is NULL. Thanks, queued for 4.2. -- Sebastian signature.asc Description: Digital signature