wilc1000: use devm_clk_get_optional()
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Fri, 6 Aug 2021 08:12:29 +0000 (11:12 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 21 Aug 2021 17:45:38 +0000 (20:45 +0300)
commit1d89fd1a39d1d88ab9cac8311222ecad19c197b6
tree92a5056ec85b59dff4f7738f7a3049f8964efa9b
parentf36a0ee599c90899c7382b24f65457cb319afef6
wilc1000: use devm_clk_get_optional()

Use devm_clk_get_optional() for rtc clock: it simplifies a bit
the code.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210806081229.721731-4-claudiu.beznea@microchip.com
drivers/net/wireless/microchip/wilc1000/sdio.c
drivers/net/wireless/microchip/wilc1000/spi.c