[PATCH] Fix for unintialized variables

From: Raghavendra D Prabhu
Date: Sat Apr 16 2011 - 04:37:40 EST


Hi,
I have attached (as reply) two patches to one of the drivers in led
subsytem. The return value was not being checked before proceeding
leading to uninitialized values being passed in few places. In the
second patch, I am a bit unclear of the logic in the function being
patched. So modify it if required.
--------------------------
Raghavendra Prabhu
GPG Id : D72BE977
Fingerprint: B93F EBCB 8E05 7039 CD3C A4B8 A616 DCA1 D72B E977

Attachment: pgp00000.pgp
Description: PGP signature