# Re: \[PATCH\] Input: st1232 - switch to using SIMPLE\_DEV\_PM\_OPS

- From: Simon Horman \<horms@verge.net.au\>
- Date: 2012-04-02 05:03:52 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2012/04/8919206
- Thread: https://ratatoskr.run/linux-sh/2012/03/8919188/t.md

```text
On Sun, Apr 01, 2012 at 05:41:40PM -0700, Dmitry Torokhov wrote:
> 
> 
> Hi Simon,
> 
> Simon Horman [ref] wrote:
> 
> >Hi,
> >
> >I'm not sure that I follow why st1232_ts_pm_ops is needed
> >if CONFIG_PM_SLEEP isn't defined.
> >
> 
> In case of !CONFIG_PM_SLEEP dev_pm_ops is an empty structure; having it allows us to drop some ifdefs.

Thanks, understood.

Reviewed-by: Simon Horman <horms@verge.net.au>

```
