projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pwm: Simplify all drivers with explicit of_pwm_n_cells = 3
[linux-2.6-block.git]
/
drivers
/
pwm
/
pwm-jz4740.c
diff --git
a/drivers/pwm/pwm-jz4740.c
b/drivers/pwm/pwm-jz4740.c
index 00c642fa2eed15266e56f375b1fc2008aac1d986..990e7904c7f1fc463aeb976c1f26c1752ad3937d 100644
(file)
--- a/
drivers/pwm/pwm-jz4740.c
+++ b/
drivers/pwm/pwm-jz4740.c
@@
-244,9
+244,6
@@
static int jz4740_pwm_probe(struct platform_device *pdev)
jz4740->chip.dev = dev;
jz4740->chip.ops = &jz4740_pwm_ops;
jz4740->chip.npwm = info->num_pwms;
- jz4740->chip.base = -1;
- jz4740->chip.of_xlate = of_pwm_xlate_with_flags;
- jz4740->chip.of_pwm_n_cells = 3;
platform_set_drvdata(pdev, jz4740);