rsi: fix null pointer dereference during rsi_shutdown()

Appearently the hw pointer can be NULL while the module is loaded and
in that case rsi_shutdown() crashes due to the unconditional dereference.

Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
Martin Kepplinger 2020-01-29 14:02:59 +01:00 • committed by Kalle Valo
commit 16bbc3eb83