staging: ccree: simplify access to struct device

Introduce a function to retrieve struct device from private
data structure in preparation to replacing custom logging
macros with proper dev_dbg and friends which require struct
device.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Gilad Ben-Yossef 2017-10-03 11:42:15 +01:00 • committed by Greg Kroah-Hartman
commit a55ef6f52f
8 changed files with 78 additions and 80 deletions