Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358737
b: refs/heads/master
c: 838bf09
h: refs/heads/master
i:
  358735: a70c9bf
v: v3
  • Loading branch information
Stephen Warren authored and Thierry Reding committed Feb 15, 2013
1 parent fe78636 commit 8fbcaf7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 83cfd72669ff708c9d21f214606be785ea8a685c
refs/heads/master: 838bf09d4fa01d39417e42c731aa31d7a256fb7c
4 changes: 1 addition & 3 deletions trunk/drivers/pwm/pwm-tegra.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,20 +233,18 @@ static int tegra_pwm_remove(struct platform_device *pdev)
return pwmchip_remove(&pc->chip);
}

#ifdef CONFIG_OF
static struct of_device_id tegra_pwm_of_match[] = {
{ .compatible = "nvidia,tegra20-pwm" },
{ .compatible = "nvidia,tegra30-pwm" },
{ }
};

MODULE_DEVICE_TABLE(of, tegra_pwm_of_match);
#endif

static struct platform_driver tegra_pwm_driver = {
.driver = {
.name = "tegra-pwm",
.of_match_table = of_match_ptr(tegra_pwm_of_match),
.of_match_table = tegra_pwm_of_match,
},
.probe = tegra_pwm_probe,
.remove = tegra_pwm_remove,
Expand Down

0 comments on commit 8fbcaf7

Please sign in to comment.