commit | 8e2f5eae24351d6f536c602eccdc4ad12b675c28 | [log] [tgz] |
---|---|---|
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | Fri Apr 12 14:36:36 2019 +0200 |
committer | Sekhar Nori <nsekhar@ti.com> | Fri Apr 12 19:43:54 2019 +0530 |
tree | 4192f70df85b3321efaaa4b1e953b7ee122d7583 | |
parent | 3ea9ae57b412391b14d059ba424c9c51bfbc5059 [diff] |
usb: ohci-da8xx: let the regulator framework keep track of use count There's no reason to have a separate variable to keep track of the regulator state. The regulator core already does that. Remove reg_enabled from struct da8xx_ohci_hcd. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Sekhar Nori <nsekhar@ti.com>