summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilo(Woogyom) Kim <milo.kim@ti.com>2012-01-04 16:23:11 +0400
committerAnton Vorontsov <cbouatmailru@gmail.com>2012-01-04 16:25:45 +0400
commite57b432d0c91a4c472b2826b21524bdbbf2688d1 (patch)
tree4f4cbe408d0a88d489b44e9160fe54ecdc66b6ae
parent620b2736696743fc785b2fc63dbc0fe69cbfe3a7 (diff)
downloadop-kernel-dev-e57b432d0c91a4c472b2826b21524bdbbf2688d1.zip
op-kernel-dev-e57b432d0c91a4c472b2826b21524bdbbf2688d1.tar.gz
lp8727_charger: Some minor fixes for the header
Pointer coding style changes : add space between return type and function pointer ex) u8(*get_batt_present) (void) -> u8 (*get_batt_present) (void) Signed-off-by: Woogyom Kim <milo.kim@ti.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
-rwxr-xr-xinclude/linux/lp8727.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/include/linux/lp8727.h b/include/linux/lp8727.h
index 3ec5589..d21fa28 100755
--- a/include/linux/lp8727.h
+++ b/include/linux/lp8727.h
@@ -1,12 +1,9 @@
/*
- * lp8727.h - Driver for LP8727 Micro/Mini USB IC with intergrated charger
- *
* Copyright (C) 2011 National Semiconductor
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
- *
*/
#ifndef _LP8727_H
@@ -43,10 +40,10 @@ struct lp8727_chg_param {
};
struct lp8727_platform_data {
- u8(*get_batt_present) (void);
- u16(*get_batt_level) (void);
- u8(*get_batt_capacity) (void);
- u8(*get_batt_temp) (void);
+ u8 (*get_batt_present)(void);
+ u16 (*get_batt_level)(void);
+ u8 (*get_batt_capacity)(void);
+ u8 (*get_batt_temp)(void);
struct lp8727_chg_param ac;
struct lp8727_chg_param usb;
};
OpenPOWER on IntegriCloud