Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Input: soc_button_array - fix a crash during rmmod
When the system has zero or one button available, trying to rmmod soc_button_array will cause crash. Fix this by properly handling -ENODEV in probe(). Signed-off-by: Lejun Zhu <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
- Loading branch information