commit | 010e32ab205bfee3a3e860d0366c1516c3e298f9 | [log] [tgz] |
---|---|---|
author | Alain Volmat <alain.volmat@foss.st.com> | Fri Mar 12 12:53:27 2021 +0100 |
committer | Wolfram Sang <wsa@kernel.org> | Tue Apr 06 22:40:02 2021 +0200 |
tree | 8f2706baa8a5e1342684f0f0088f583eb1f32b69 | |
parent | 40357058f859563149c976fe90728436d6795227 [diff] |
i2c: stm32f7: avoid ifdef CONFIG_PM_SLEEP for pm callbacks Avoid CONFIG_PM preprocessor check for pm suspend/resume callbacks and identify the functions with __maybe_unused. Signed-off-by: Alain Volmat <alain.volmat@foss.st.com> Reviewed-by: Pierre-Yves MORDRET <pierre-yves.mordret@foss.st.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>