Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 342688
b: refs/heads/master
c: 5c86ac6
h: refs/heads/master
v: v3
  • Loading branch information
Bo Shen authored and Mark Brown committed Nov 6, 2012
1 parent 07fec9f commit 6c7bfd3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 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: 2e4de7b32adc239d566cd02751c31d0847f68e86
refs/heads/master: 5c86ac695c7e2402f60e30ad8174ceb66ef22a91
18 changes: 4 additions & 14 deletions trunk/drivers/misc/atmel-ssc.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ void ssc_free(struct ssc_device *ssc)
}
EXPORT_SYMBOL(ssc_free);

static int __init ssc_probe(struct platform_device *pdev)
static int ssc_probe(struct platform_device *pdev)
{
struct resource *regs;
struct ssc_device *ssc;
Expand Down Expand Up @@ -135,24 +135,14 @@ static int __devexit ssc_remove(struct platform_device *pdev)
}

static struct platform_driver ssc_driver = {
.remove = __devexit_p(ssc_remove),
.driver = {
.name = "ssc",
.owner = THIS_MODULE,
},
.probe = ssc_probe,
.remove = __devexit_p(ssc_remove),
};

static int __init ssc_init(void)
{
return platform_driver_probe(&ssc_driver, ssc_probe);
}
module_init(ssc_init);

static void __exit ssc_exit(void)
{
platform_driver_unregister(&ssc_driver);
}
module_exit(ssc_exit);
module_platform_driver(ssc_driver);

MODULE_AUTHOR("Hans-Christian Egtvedt <hcegtvedt@atmel.com>");
MODULE_DESCRIPTION("SSC driver for Atmel AVR32 and AT91");
Expand Down

0 comments on commit 6c7bfd3

Please sign in to comment.