glamo-mci: Fix regulator error check
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 16 Oct 2009 22:58:01 +0000 (00:58 +0200)
committerLars-Peter Clausen <lars@metafoo.de>
Fri, 16 Oct 2009 22:58:01 +0000 (00:58 +0200)
commitf3de5ecedbb939cb717d31358cacda3130332b0f
tree726f1d884ac285858f9389aa9d0fc54804fd7832
parentdda793e722a5db08345dbf642c7590c7eb61ab67
glamo-mci: Fix regulator error check

regulator_get returns a ERR_PTR in case of an error and not a NULL pointer.
drivers/mfd/glamo/glamo-mci.c