mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-28 13:30:29 +09:00
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 <lejun.zhu@linux.intel.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
5.1 KiB
5.1 KiB