Re: [PATCH v2] regulator: TI bq24022 Li-Ion Charger driver

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Saturday, July 12, 2008 - 6:53 pm

On Fri, 11 Jul 2008 17:28:06 +0200 Philipp Zabel <philipp.zabel@gmail.com> wrote:


Incremental diffs are so much better.  It allowed us to see what you
changed.  Two things:

a) re-broke the kerneldoc comments

b) this:

--- a/drivers/regulator/bq24022.c~regulator-ti-bq24022-li-ion-charger-driver-update
+++ a/drivers/regulator/bq24022.c
@@ -145,12 +145,12 @@ static struct platform_driver bq24022_dr
 	.remove = __devexit_p(bq24022_remove),
 };
 
-static int __init bq24022_init()
+static int __init bq24022_init(void)
 {
-	platform_driver_probe(&bq24022_driver, bq24022_probe);
+	return platform_driver_probe(&bq24022_driver, bq24022_probe);
 }
 
-static void __exit bq24022_exit()
+static void __exit bq24022_exit(void)
 {
 	platform_driver_unregister(&bq24022_driver);
 }

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v2] regulator: TI bq24022 Li-Ion Charger driver, Philipp Zabel, (Fri Jul 11, 8:28 am)
Re: [PATCH v2] regulator: TI bq24022 Li-Ion Charger driver, Andrew Morton, (Sat Jul 12, 6:53 pm)