summaryrefslogtreecommitdiff
path: root/include/linux/cdev.h
diff options
context:
space:
mode:
authorRicardo Ribalda <ribalda@chromium.org>2024-04-11 00:54:42 +0300
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-04-15 14:42:39 +0300
commitf1411be0462c8e8826fe2cb5908bd169b9eac597 (patch)
treef3674693736d89c0c03de2d58f24eccf74cc02f8 /include/linux/cdev.h
parentcb385548ec17797fb0d356d83dc5d9035de6eec4 (diff)
downloadlinux-f1411be0462c8e8826fe2cb5908bd169b9eac597.tar.xz
media: adv7180: Only request valids IRQs
i2c_device_probe(), seems to assume that irq = 0 means that there is no irq to request. The driver also believes that on the clean path. So lets be consistent here. Also make smatch happy. Fix: drivers/media/i2c/adv7180.c:1526 adv7180_probe() warn: 'client->irq' from request_threaded_irq() not released on lines: 1526 Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'include/linux/cdev.h')
0 files changed, 0 insertions, 0 deletions