summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMilo(Woogyom) Kim <milo.kim@ti.com>2012-01-04 13:23:11 +0100
committerAnton Vorontsov <cbouatmailru@gmail.com>2012-01-04 13:25:45 +0100
commite57b432d0c91a4c472b2826b21524bdbbf2688d1 (patch)
tree4f4cbe408d0a88d489b44e9160fe54ecdc66b6ae /include
parentlp8727_charger: Add header file (diff)
downloadlinux-e57b432d0c91a4c472b2826b21524bdbbf2688d1.tar.xz
linux-e57b432d0c91a4c472b2826b21524bdbbf2688d1.zip
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>
Diffstat (limited to 'include')
-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 3ec558959a11..d21fa2865bf4 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;
};