diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-12-01 15:01:06 +0400 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-01-03 23:22:22 +0400 |
commit | 6e14a61d412eb87ef7bdcec8b08a95bead771a78 (patch) | |
tree | 485dff0b5de49c083b1d04c81881c99a45a71063 /drivers/mtd/bcm63xxpart.c | |
parent | cf3b2b1e24998ba67ca6defa71899bee2432046f (diff) | |
download | linux-6e14a61d412eb87ef7bdcec8b08a95bead771a78.tar.xz |
mtd: make register_mtd_parser return void
register_mtd_parser never fails; hence make it return void.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/bcm63xxpart.c')
-rw-r--r-- | drivers/mtd/bcm63xxpart.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/bcm63xxpart.c b/drivers/mtd/bcm63xxpart.c index 5c813907661c..b2443f7031c9 100644 --- a/drivers/mtd/bcm63xxpart.c +++ b/drivers/mtd/bcm63xxpart.c @@ -221,7 +221,8 @@ static struct mtd_part_parser bcm63xx_cfe_parser = { static int __init bcm63xx_cfe_parser_init(void) { - return register_mtd_parser(&bcm63xx_cfe_parser); + register_mtd_parser(&bcm63xx_cfe_parser); + return 0; } static void __exit bcm63xx_cfe_parser_exit(void) |