]> www.infradead.org Git - users/dwmw2/linux.git/commit
media: mmc: siano: simplify module initialization
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 29 Mar 2024 17:11:19 +0000 (18:11 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 8 Apr 2024 11:48:19 +0000 (13:48 +0200)
commit1a4a993cc288eb486ce19401261bfc0642413187
tree4ca39f917c7e48aad8fecf2af49a9fc28374084c
parent533581379a4ca32a2cf9e4466c059a23c8af29df
media: mmc: siano: simplify module initialization

This driver's initialization functions do not perform any custom code,
except printing messages.  Printing messages on modules
loading/unloading is discouraged because it pollutes the dmesg
regardless whether user actually has this device.  Core kernel code
already gives tools to investigate whether module was loaded or not.

Drop the printing messages which allows to replace open-coded
module_sdio_driver().

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/mmc/siano/smssdio.c