OSDN Git Service

staging: most: dim2: Remove function dimcb_io_write()
authorNishka Dasgupta <nishkadg.linux@gmail.com>
Mon, 8 Jul 2019 06:41:45 +0000 (12:11 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jul 2019 05:34:10 +0000 (07:34 +0200)
commit6fa4e8eb3f1906decdd9d426708bf5134d77f5ad
treece25496ce0f047794c297bb1f5dff272c7119379
parent41e359e6daf47cd47c9fde77220653886b8f5969
staging: most: dim2: Remove function dimcb_io_write()

Remove function dimcb_io_write as all it does is call writel.
Modify calls to dimcb_io_write to writel, flipping the order of the
arguments as required.
Issue found with Coccinelle.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Link: https://lore.kernel.org/r/20190708064145.3250-3-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