pwm-pxa.c (fd1091125a1d11fcc635749d0d3dec36904a7a48) pwm-pxa.c (3e9fe83d278cce6974f0a4d1870c0ff4a0b74ba5)
1/*
2 * drivers/pwm/pwm-pxa.c
3 *
4 * simple driver for PWM (Pulse Width Modulator) controller
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 121 unchanged lines hidden (view full) ---

130
131static struct pwm_ops pxa_pwm_ops = {
132 .config = pxa_pwm_config,
133 .enable = pxa_pwm_enable,
134 .disable = pxa_pwm_disable,
135 .owner = THIS_MODULE,
136};
137
1/*
2 * drivers/pwm/pwm-pxa.c
3 *
4 * simple driver for PWM (Pulse Width Modulator) controller
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 121 unchanged lines hidden (view full) ---

130
131static struct pwm_ops pxa_pwm_ops = {
132 .config = pxa_pwm_config,
133 .enable = pxa_pwm_enable,
134 .disable = pxa_pwm_disable,
135 .owner = THIS_MODULE,
136};
137
138static int __devinit pwm_probe(struct platform_device *pdev)
138static int pwm_probe(struct platform_device *pdev)
139{
140 const struct platform_device_id *id = platform_get_device_id(pdev);
141 struct pxa_pwm_chip *pwm;
142 struct resource *r;
143 int ret = 0;
144
145 pwm = devm_kzalloc(&pdev->dev, sizeof(*pwm), GFP_KERNEL);
146 if (pwm == NULL) {

--- 69 unchanged lines hidden ---
139{
140 const struct platform_device_id *id = platform_get_device_id(pdev);
141 struct pxa_pwm_chip *pwm;
142 struct resource *r;
143 int ret = 0;
144
145 pwm = devm_kzalloc(&pdev->dev, sizeof(*pwm), GFP_KERNEL);
146 if (pwm == NULL) {

--- 69 unchanged lines hidden ---