langwell_otg: enable runtime pm at probe time
authorKristen Carlson Accardi <kristen@linux.intel.com>
Thu, 25 Aug 2011 11:20:33 +0000 (12:20 +0100)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 21:15:34 +0000 (13:15 -0800)
commit969867e3fc28e63b8480660ce82a6d3f8161923c
treee060288024ade15bdc02fa590a7e1ee624eed41f
parent7aa38b5a3ccbec13947540bc2752154dac18d1f9
langwell_otg: enable runtime pm at probe time

decrement the usage count at probe time and enable runtime pm.
At remove time, prevent runtime pm by incrementing usage count
and forbidding runtime pm.

Signed-off-by: Kristen Carlson Accardi <kristen@linux.intel.com>
Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com>
drivers/usb/otg/langwell_otg.c