]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: Do not dereference null pointer in twl4030 error path
authorIlkka Koskinen <ilkka.koskinen@nokia.com>
Tue, 20 Oct 2009 13:22:52 +0000 (16:22 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 26 Oct 2009 23:20:33 +0000 (00:20 +0100)
commit893eb7b9a4d2c78c54148d5273b6168626b7c349
tree5d36ab9a0b1b84414cd3e9327be319e493acebec
parent7a47b28909b890f3b2aa2f873307a8f097583d12
mfd: Do not dereference null pointer in twl4030 error path

We are mistakenly dereferencing twl->client in the twl->client null checking
path.

Signed-off-by: Ilkka Koskinen <ilkka.koskinen@nokia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/twl4030-core.c