# Re: \[PATCH 2/3\] Input: ad7979 - Convert SPI to dev\_pm\_ops

- From: Mark Brown \<hidden\>
- Date: 2011-01-19 18:39:18 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2011/01/8915887
- Thread: https://ratatoskr.run/linux-input/2011/01/8915883/t.md

```text
On Wed, Jan 19, 2011 at 09:40:38AM -0800, Dmitry Torokhov wrote:

> I was looking at SIMPLE_DEV_PM_OPS definition and it turns into noop if
> CONFIG_PM_SLEEP is not set (for systems with runtime PM only, for
> example). This will lead to "unused function" compiler warnings (and I
> think I have seen such reports for randconfig compiles off linux-next).

> Do you think we coudl augment your patch thusly:

Looks sane to me - do you want me to redo the updates?
```
