]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: most: dim2: Remove function dimcb_io_read()
authorNishka Dasgupta <nishkadg.linux@gmail.com>
Mon, 8 Jul 2019 06:41:44 +0000 (12:11 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jul 2019 05:34:10 +0000 (07:34 +0200)
commit41e359e6daf47cd47c9fde77220653886b8f5969
treea1bbc7bc922cffb75e29ce6d460e1c8e7f6925a3
parent8826a1985f96d402a66e25fe6eab09144b4d8003
staging: most: dim2: Remove function dimcb_io_read()

Remove function dimcb_io_read as it does nothing except call inbuilt
function readl.
Modify call sites accordingly.
Issue found with Coccinelle.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Link: https://lore.kernel.org/r/20190708064145.3250-2-nishkadg.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/dim2/dim2.c
drivers/staging/most/dim2/hal.c
drivers/staging/most/dim2/hal.h