mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
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>
This commit is contained in:
parent
8ceb59557b
commit
06f95e66de
1 changed files with 5 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue