]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: et131x: Remove unnecessary defines to enable driver PM
authorMark Einon <mark.einon@gmail.com>
Tue, 23 Sep 2014 19:41:14 +0000 (20:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 06:38:16 +0000 (23:38 -0700)
commitd40f0d8d3d09732853ea010c12100609269a6e41
tree8d2aca3c00a1c6c3ab5962f457998bbeeafb291e
parentb57cb55b463d918e07843ebd552da8557d37e3ff
staging: et131x: Remove unnecessary defines to enable driver PM

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 <tklauser@distanz.ch>
Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/et131x/et131x.c