Date:2013-04-24 20:45:56 (7 years 1 month ago)
Author:Lars C.
Commit:90938c90f335fba02842983f406e0d6b0cf244a5
Message:pwm: jz4740: Add dt bindings

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Files: drivers/pwm/pwm-jz4740.c (1 diff)

Change Details

drivers/pwm/pwm-jz4740.c
191191    return pwmchip_remove(&jz4740->chip);
192192}
193193
194static const struct of_device_id jz4740_pwm_of_match[] = {
195    { .compatible = "ingenic,jz4740-pwm" },
196    {},
197};
198MODULE_DEVICE_TABLE(of, jz4740_pwm_of_match);
199
194200static struct platform_driver jz4740_pwm_driver = {
195201    .driver = {
196202        .name = "jz4740-pwm",
197203        .owner = THIS_MODULE,
204        .of_match_table = jz4740_pwm_of_match,
198205    },
199206    .probe = jz4740_pwm_probe,
200207    .remove = jz4740_pwm_remove,

Archive Download the corresponding diff file



interactive