diff options
author | Nishka Dasgupta <nishkadg.linux@gmail.com> | 2019-07-01 12:30:25 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-03 18:28:28 +0200 |
commit | fd315da57dc37b7d9f3f145f88eb66085279d48a (patch) | |
tree | e7f4b294622128ab690ed2d81edd40aa482c0951 /drivers/staging/mt7621-dts | |
parent | 931282a9c7a6ea366c5a8a3c5a0f021681d19d9d (diff) |
staging: comedi: mite: Replace function mite_request_channel_in_range()
Remove function mite_request_channel_in_range as all it does is call
__mite_request_channel.
Rename __mite_request_channel to mite_request_channel_in_range and
change its type from static to non-static to maintain compatibility with
call sites.
Change only remaining call site of __mite_request_channel to call
mite_request_channel_in_range_instead.
Issue found with Coccinelle.
Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Link: https://lore.kernel.org/r/20190701070025.3838-3-nishkadg.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/mt7621-dts')
0 files changed, 0 insertions, 0 deletions