diff options
author | Rob Herring <robh@kernel.org> | 2016-10-11 13:41:02 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-31 09:15:22 -0600 |
commit | c5f0627488be996e833038bdba01e45698ddaa26 (patch) | |
tree | adc2fe9d43bc3dc5e0564ce09429c4e69a96a251 /drivers/pwm/pwm-atmel-tcb.c | |
parent | a909d3e636995ba7c349e2ca5dbb528154d4ac30 (diff) |
driver core: skip removal test for non-removable drivers
Some drivers do not support removal/unbinding. These drivers should have
drv->suppress_bind_attrs set to true, so use that to skip the removal
test.
This doesn't fix anything reported so far, but should prevent some other
cases. Some drivers will need fixes to set suppress_bind_attrs to avoid
this test.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=177021
Fixes: bea5b158ff0d ("driver core: add test of driver remove calls during probe")
Reported-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pwm/pwm-atmel-tcb.c')
0 files changed, 0 insertions, 0 deletions