pwm-tiecap.c (fd1091125a1d11fcc635749d0d3dec36904a7a48) | pwm-tiecap.c (3e9fe83d278cce6974f0a4d1870c0ff4a0b74ba5) |
---|---|
1/* 2 * ECAP PWM driver 3 * 4 * Copyright (C) 2012 Texas Instruments, Inc. - http://www.ti.com/ 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 as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 170 unchanged lines hidden (view full) --- 179 .free = ecap_pwm_free, 180 .config = ecap_pwm_config, 181 .set_polarity = ecap_pwm_set_polarity, 182 .enable = ecap_pwm_enable, 183 .disable = ecap_pwm_disable, 184 .owner = THIS_MODULE, 185}; 186 | 1/* 2 * ECAP PWM driver 3 * 4 * Copyright (C) 2012 Texas Instruments, Inc. - http://www.ti.com/ 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 as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 170 unchanged lines hidden (view full) --- 179 .free = ecap_pwm_free, 180 .config = ecap_pwm_config, 181 .set_polarity = ecap_pwm_set_polarity, 182 .enable = ecap_pwm_enable, 183 .disable = ecap_pwm_disable, 184 .owner = THIS_MODULE, 185}; 186 |
187static int __devinit ecap_pwm_probe(struct platform_device *pdev) | 187static int ecap_pwm_probe(struct platform_device *pdev) |
188{ 189 int ret; 190 struct resource *r; 191 struct clk *clk; 192 struct ecap_pwm_chip *pc; 193 194 pc = devm_kzalloc(&pdev->dev, sizeof(*pc), GFP_KERNEL); 195 if (!pc) { --- 64 unchanged lines hidden --- | 188{ 189 int ret; 190 struct resource *r; 191 struct clk *clk; 192 struct ecap_pwm_chip *pc; 193 194 pc = devm_kzalloc(&pdev->dev, sizeof(*pc), GFP_KERNEL); 195 if (!pc) { --- 64 unchanged lines hidden --- |