[PATCH 4/4] staging: et131x: Remove unnecessary defines to enable driver PM

2014-09-23 Thread Mark Einon
The Power Management functions can be conditional by assigning pm ops directly to .driver.pm, instead of using #ifdef's, saving some lines of code. Reported-by: Tobias Klauser Signed-off-by: Mark Einon --- drivers/staging/et131x/et131x.c | 7 ++- 1 file changed, 2 insertions(+), 5

[PATCH 4/4] staging: et131x: Remove unnecessary defines to enable driver PM

2014-09-23 Thread Mark Einon
The Power Management functions can be conditional by assigning pm ops directly to .driver.pm, instead of using #ifdef's, saving some lines of code. Reported-by: Tobias Klauser tklau...@distanz.ch Signed-off-by: Mark Einon mark.ei...@gmail.com --- drivers/staging/et131x/et131x.c | 7 ++- 1