diff options
author | David Brownell <[email protected]> | 2009-03-05 16:46:44 -0800 |
---|---|---|
committer | Richard Purdie <[email protected]> | 2009-04-06 16:06:27 +0100 |
commit | d379ee8acd0719736ee7f1d1ccc3b5765880eaf8 (patch) | |
tree | f998ab138b72c5bd597b45ea28c04a3f92586f28 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 7fbc3a9b132e93b2ba1fd889c1ad8a4135731cc3 (diff) |
leds: just ignore invalid GPIOs in leds-gpio
Sometimes it's awkward to make sure that the array in the
platform_data handed to the leds-gpio driver has only valid
data ... some leds may not be always available, and coping
with that currently requires patching or rebuilding the array.
This patch fixes that by making it be OK to pass an invalid
GPIO (such as "-EINVAL") ... such table entries are skipped.
[[email protected]: adjusted to apply against other led tree changes]
Signed-off-by: David Brownell <[email protected]>
Tested-by: Diego Dompe <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions