Skip to content
Commit fce55da3 authored by Alain Volmat's avatar Alain Volmat Committed by Wolfram Sang
Browse files

i2c: st: use pm_sleep_ptr to avoid ifdef CONFIG_PM_SLEEP



Rely on pm_sleep_ptr when setting the pm ops and get rid
of the ifdef CONFIG_PM_SLEEP around suspend/resume functions.

Signed-off-by: default avatarAlain Volmat <avolmat@me.com>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent 001e944f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment