net: rfkill: gpio: hard-code the gpio names
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Tue, 1 Apr 2014 14:02:56 +0000 (17:02 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 11 Apr 2014 07:29:22 +0000 (09:29 +0200)
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>

No differences found