Message ID | 1298312426.3152.8.camel@localhost.localdomain (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
--- a/drivers/media/rc/rc-main.c +++ b/drivers/media/rc/rc-main.c @@ -701,7 +701,7 @@ { struct rc_dev *rdev = input_get_drvdata(idev); - rdev->close(rdev); + if (rdev) rdev->close(rdev); } /* class for /sys/class/rc */