projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c558e39
)
pwm: lpss: pci: Move to use pcim_enable_device()
author
Andy Shevchenko
<
[email protected]
>
Tue, 19 Aug 2014 16:17:36 +0000
(19:17 +0300)
committer
Thierry Reding
<
[email protected]
>
Fri, 22 Aug 2014 22:25:51 +0000
(
00:25
+0200)
Let's use managed functions for this driver.
Signed-off-by: Andy Shevchenko <
[email protected]
>
Reviewed-by: Mika Westerberg <
[email protected]
>
Signed-off-by: Thierry Reding <
[email protected]
>
drivers/pwm/pwm-lpss-pci.c
patch
|
blob
|
history
diff --git
a/drivers/pwm/pwm-lpss-pci.c
b/drivers/pwm/pwm-lpss-pci.c
index 1bfdd89c329cb632da70f662be3f1cbd6886a763..cf20d2beacdde44f74ff156360ab979419062741 100644
(file)
--- a/
drivers/pwm/pwm-lpss-pci.c
+++ b/
drivers/pwm/pwm-lpss-pci.c
@@
-23,7
+23,7
@@
static int pwm_lpss_probe_pci(struct pci_dev *pdev,
struct pwm_lpss_chip *lpwm;
int err;
- err = pci_enable_device(pdev);
+ err = pci
m
_enable_device(pdev);
if (err < 0)
return err;
@@
-41,7
+41,6
@@
static void pwm_lpss_remove_pci(struct pci_dev *pdev)
struct pwm_lpss_chip *lpwm = pci_get_drvdata(pdev);
pwm_lpss_remove(lpwm);
- pci_disable_device(pdev);
}
static const struct pci_device_id pwm_lpss_pci_ids[] = {