pwm-tiehrpwm.c (fd1091125a1d11fcc635749d0d3dec36904a7a48) | pwm-tiehrpwm.c (3e9fe83d278cce6974f0a4d1870c0ff4a0b74ba5) |
---|---|
1/* 2 * EHRPWM 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 --- 378 unchanged lines hidden (view full) --- 387 .free = ehrpwm_pwm_free, 388 .config = ehrpwm_pwm_config, 389 .set_polarity = ehrpwm_pwm_set_polarity, 390 .enable = ehrpwm_pwm_enable, 391 .disable = ehrpwm_pwm_disable, 392 .owner = THIS_MODULE, 393}; 394 | 1/* 2 * EHRPWM 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 --- 378 unchanged lines hidden (view full) --- 387 .free = ehrpwm_pwm_free, 388 .config = ehrpwm_pwm_config, 389 .set_polarity = ehrpwm_pwm_set_polarity, 390 .enable = ehrpwm_pwm_enable, 391 .disable = ehrpwm_pwm_disable, 392 .owner = THIS_MODULE, 393}; 394 |
395static int __devinit ehrpwm_pwm_probe(struct platform_device *pdev) | 395static int ehrpwm_pwm_probe(struct platform_device *pdev) |
396{ 397 int ret; 398 struct resource *r; 399 struct clk *clk; 400 struct ehrpwm_pwm_chip *pc; 401 402 pc = devm_kzalloc(&pdev->dev, sizeof(*pc), GFP_KERNEL); 403 if (!pc) { --- 64 unchanged lines hidden --- | 396{ 397 int ret; 398 struct resource *r; 399 struct clk *clk; 400 struct ehrpwm_pwm_chip *pc; 401 402 pc = devm_kzalloc(&pdev->dev, sizeof(*pc), GFP_KERNEL); 403 if (!pc) { --- 64 unchanged lines hidden --- |