Skip to content
Commit d4394788 authored by Kumar Gala's avatar Kumar Gala Committed by Kumar Gala
Browse files

device: treat a NULL device_pm_control as device_pm_control_nop



This is a step towards phasing out DEVICE_INIT and just having
DEVICE_DEFINE.  To make it a little easier on users or DEVICE_DEFINE
if they don't care about PM, they can just pass NULL for the
pm_control_fn paramater.

Signed-off-by: default avatarKumar Gala <kumar.gala@linaro.org>
parent 7f0d5ba6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment