]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
power_supply: rt9455_charger: Fix error reported by static analysis tool
authorAnda-Maria Nicolae <anda-maria.nicolae@intel.com>
Fri, 12 Jun 2015 12:25:51 +0000 (15:25 +0300)
committerSebastian Reichel <sre@kernel.org>
Sat, 13 Jun 2015 02:06:44 +0000 (04:06 +0200)
commit3d7f1800af0e4a781195770644fc1297217ba71d
tree48130c8006304138cd8b91a6c9557bd53c563bad
parente31cd7824d054d30ffc9f45550343123bc437e17
power_supply: rt9455_charger: Fix error reported by static analysis tool

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.nicolae@intel.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/rt9455_charger.c