Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330015
b: refs/heads/master
c: c6bed9d
h: refs/heads/master
i:
  330013: 782e830
  330011: 9113a29
  330007: 1c0fc64
  329999: 7215a17
  329983: 8aff929
v: v3
  • Loading branch information
Axel Lin authored and Samuel Ortiz committed Sep 30, 2012
1 parent d322a28 commit b35a690
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 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: 2896434cf272acace1b7093d5e4ba8022ed11ac8
refs/heads/master: c6bed9deb6047179a6c58ace847f8b2129085e37
14 changes: 2 additions & 12 deletions trunk/drivers/video/backlight/tps65217_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ static int tps65217_bl_probe(struct platform_device *pdev)
}

tps65217_bl->bl->props.brightness = 0;
platform_set_drvdata(pdev, tps65217_bl);

return 0;
}
Expand All @@ -334,18 +335,7 @@ static struct platform_driver tps65217_bl_driver = {
},
};

static int __init tps65217_bl_init(void)
{
return platform_driver_register(&tps65217_bl_driver);
}

static void __exit tps65217_bl_exit(void)
{
platform_driver_unregister(&tps65217_bl_driver);
}

module_init(tps65217_bl_init);
module_exit(tps65217_bl_exit);
module_platform_driver(tps65217_bl_driver);

MODULE_DESCRIPTION("TPS65217 Backlight driver");
MODULE_LICENSE("GPL v2");
Expand Down

0 comments on commit b35a690

Please sign in to comment.