pwm-ab8500.c (fd1091125a1d11fcc635749d0d3dec36904a7a48) pwm-ab8500.c (3e9fe83d278cce6974f0a4d1870c0ff4a0b74ba5)
1/*
2 * Copyright (C) ST-Ericsson SA 2010
3 *
4 * Author: Arun R Murthy <arun.murthy@stericsson.com>
5 * License terms: GNU General Public License (GPL) version 2
6 */
7#include <linux/err.h>
8#include <linux/platform_device.h>

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

85}
86
87static const struct pwm_ops ab8500_pwm_ops = {
88 .config = ab8500_pwm_config,
89 .enable = ab8500_pwm_enable,
90 .disable = ab8500_pwm_disable,
91};
92
1/*
2 * Copyright (C) ST-Ericsson SA 2010
3 *
4 * Author: Arun R Murthy <arun.murthy@stericsson.com>
5 * License terms: GNU General Public License (GPL) version 2
6 */
7#include <linux/err.h>
8#include <linux/platform_device.h>

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

85}
86
87static const struct pwm_ops ab8500_pwm_ops = {
88 .config = ab8500_pwm_config,
89 .enable = ab8500_pwm_enable,
90 .disable = ab8500_pwm_disable,
91};
92
93static int __devinit ab8500_pwm_probe(struct platform_device *pdev)
93static int ab8500_pwm_probe(struct platform_device *pdev)
94{
95 struct ab8500_pwm_chip *ab8500;
96 int err;
97
98 /*
99 * Nothing to be done in probe, this is required to get the
100 * device which is required for ab8500 read and write
101 */

--- 52 unchanged lines hidden ---
94{
95 struct ab8500_pwm_chip *ab8500;
96 int err;
97
98 /*
99 * Nothing to be done in probe, this is required to get the
100 * device which is required for ab8500 read and write
101 */

--- 52 unchanged lines hidden ---