https://github.com/torvalds/linux
Revision 3f1dc550b069e9fbfe375844f3c76f2cdd12f05c authored by Axel Lin on 16 June 2012, 03:55:18 UTC, committed by Greg Kroah-Hartman on 18 June 2012, 23:30:42 UTC
Add missing platform_set_drvdata() in gpio_extcon_probe(), otherwise calling
platform_get_drvdata in gpio_extcon_remove() returns NULL.

Also add missing free_irq call in gpio_extcon_remove().

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 155cb06
History
Tip revision: 3f1dc550b069e9fbfe375844f3c76f2cdd12f05c authored by Axel Lin on 16 June 2012, 03:55:18 UTC
extcon: Set platform drvdata in gpio_extcon_probe() and fix irq leak
Tip revision: 3f1dc55
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.3 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.7 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 207.7 KB
Makefile -rw-r--r-- 46.0 KB
README -rw-r--r-- 17.3 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top