commit | 0fe879c30d32f18acb1239f9c782d9a8e2d36d33 | [log] [tgz] |
---|---|---|
author | Willie Ruan <wruan@codeaurora.org> | Mon Jan 14 15:16:48 2013 -0800 |
committer | Willie Ruan <wruan@codeaurora.org> | Mon Jan 28 21:33:46 2013 -0800 |
tree | a69c673338e58efe10bdc15efb7761e615681607 | |
parent | 220de21af7b3ba5297d982961c8945c42e8501ad [diff] |
gpio: pm8xxx-gpio: remove unnecessary checks in static callbacks Remove the parameter checks in pm_gpio_get and pm_gpio_set callbacks because they are not necessary as callbacks of gpiolib. This also removes an issue of NULL pointer check is after being dereferenced. Change-Id: Iaca83877fe93ba6335d40c9a36465f909aef2c97 Signed-off-by: Willie Ruan <wruan@codeaurora.org>