aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorMilo(Woogyom) Kim <milo.kim@ti.com>2012-01-04 07:23:11 -0500
committerAnton Vorontsov <cbouatmailru@gmail.com>2012-01-04 07:25:45 -0500
commite57b432d0c91a4c472b2826b21524bdbbf2688d1 (patch)
tree4f4cbe408d0a88d489b44e9160fe54ecdc66b6ae /include/linux
parent620b2736696743fc785b2fc63dbc0fe69cbfe3a7 (diff)
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/linux')
-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 @@
1/* 1/*
2 * lp8727.h - Driver for LP8727 Micro/Mini USB IC with intergrated charger
3 *
4 * Copyright (C) 2011 National Semiconductor 2 * Copyright (C) 2011 National Semiconductor
5 * 3 *
6 * This program is free software; you can redistribute it and/or modify 4 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as 5 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation. 6 * published by the Free Software Foundation.
9 *
10 */ 7 */
11 8
12#ifndef _LP8727_H 9#ifndef _LP8727_H
@@ -43,10 +40,10 @@ struct lp8727_chg_param {
43}; 40};
44 41
45struct lp8727_platform_data { 42struct lp8727_platform_data {
46 u8(*get_batt_present) (void); 43 u8 (*get_batt_present)(void);
47 u16(*get_batt_level) (void); 44 u16 (*get_batt_level)(void);
48 u8(*get_batt_capacity) (void); 45 u8 (*get_batt_capacity)(void);
49 u8(*get_batt_temp) (void); 46 u8 (*get_batt_temp)(void);
50 struct lp8727_chg_param ac; 47 struct lp8727_chg_param ac;
51 struct lp8727_chg_param usb; 48 struct lp8727_chg_param usb;
52}; 49};