]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
rfkill: fix error return code in rfkill_gpio_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 18 Apr 2013 02:31:16 +0000 (10:31 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 22 Apr 2013 13:42:18 +0000 (15:42 +0200)
commit06f95e66deca680ff73076914b6ee47bcbe94926
tree73d6bec7dbe68bf8459e36764b8a0944d2959740
parent8ceb59557bdc373e532b87d4142ce27e04218f0e
rfkill: fix error return code in rfkill_gpio_probe()

Fix to return a negative error code from the error handling
case instead of 0, as returned elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
[fix some indentation on the way]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/rfkill/rfkill-gpio.c