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

- From: Dmitry Torokhov \<dmitry.torokhov@gmail.com\>
- Date: 2011-01-19 18:54:03 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2011/01/8915888
- Thread: https://ratatoskr.run/linux-input/2011/01/8915883/t.md

```text
On Wed, Jan 19, 2011 at 06:39:16PM +0000, Mark Brown wrote:
> 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?

If it is not too much bother...

-- 
Dmitry
```
