firmware: use static inline for to_fw_priv()

This lets us type check the callers.

Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Luis R. Rodriguez 2017-11-20 10:23:55 -08:00 • committed by Greg Kroah-Hartman
commit 942e743b73