diff options
author | Ricardo Ribalda <ribalda@chromium.org> | 2024-05-07 00:10:29 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-05-31 14:51:16 +0300 |
commit | 68879806a567a50ba5fd25b16d2f923e88715e7f (patch) | |
tree | 282a235b865013822ddf29d751519165c9fb1644 /drivers/mmc | |
parent | 0b9a0cd686f6e17e3b33953b9cd0746978fcaa7c (diff) | |
download | linux-68879806a567a50ba5fd25b16d2f923e88715e7f.tar.xz |
media: go7007: Refactor Adlink PCI-MPG24 i2c mutex
Move the lock/unlock to its own function. It makes the code cleaner and
cocci happier.
Fix the following cocci warning:
drivers/media/usb/go7007/go7007-i2c.c:125:1-7: preceding lock on line 61
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/mmc')
0 files changed, 0 insertions, 0 deletions