]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
lp8727_charger: Some minor fixes for the header
authorMilo(Woogyom) Kim <milo.kim@ti.com>
Wed, 4 Jan 2012 12:23:11 +0000 (16:23 +0400)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Wed, 4 Jan 2012 12:25:45 +0000 (16:25 +0400)
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>
include/linux/lp8727.h

index 3ec558959a11fdf6b483cb846dbb6904be8ab174..d21fa2865bf4da4aa2873adc081091b840b6cf08 100755 (executable)
@@ -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;
 };