summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/i5500_temp.c
diff options
context:
space:
mode:
authorYong Wu <yong.wu@mediatek.com>2019-01-01 05:51:05 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-22 14:25:26 +0100
commit0fe6f7874d467456da6f6a221dd92499a3ab1780 (patch)
tree7e45a7113487214b2f63efcf39db81ded7d10e54 /drivers/hwmon/i5500_temp.c
parentdriver core: silence device link messages unless debugging (diff)
downloadlinux-0fe6f7874d467456da6f6a221dd92499a3ab1780.tar.xz
linux-0fe6f7874d467456da6f6a221dd92499a3ab1780.zip
driver core: Remove the link if there is no driver with AUTO flag
DL_FLAG_AUTOREMOVE_CONSUMER/SUPPLIER means "Remove the link automatically on consumer/supplier driver unbind", that means we should remove whole the device_link when there is no this driver no matter what the ref_count of the link is. CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Yong Wu <yong.wu@mediatek.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwmon/i5500_temp.c')
0 files changed, 0 insertions, 0 deletions