diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2014-04-01 17:02:56 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-04-11 09:29:22 +0200 |
commit | 781d4e0fb73379e251d1ac1562fe9892da711760 (patch) | |
tree | fc6d0d0e32d5b18f271e98ea04fc1ba015faf289 /block | |
parent | 41d09df1e08bf18316d08cb73c5d08b5346c0c5d (diff) |
net: rfkill: gpio: hard-code the gpio names
There is no need to dynamically generate the names. This
will fix a static checker warning..
net/rfkill/rfkill-gpio.c:144 rfkill_gpio_probe()
warn: variable dereferenced before check 'rfkill->name'
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions