All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] android/handsfree: Fix alignment
@ 2014-08-20 13:05 Andrei Emeltchenko
  2014-08-22  8:20 ` Szymon Janc
  0 siblings, 1 reply; 2+ messages in thread
From: Andrei Emeltchenko @ 2014-08-20 13:05 UTC (permalink / raw)
  To: linux-bluetooth

From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>

---
 android/handsfree.c | 50 +++++++++++++++++++++++++-------------------------
 1 file changed, 25 insertions(+), 25 deletions(-)

diff --git a/android/handsfree.c b/android/handsfree.c
index bad7086..c06f65c 100644
--- a/android/handsfree.c
+++ b/android/handsfree.c
@@ -360,7 +360,7 @@ static void at_cmd_vgs(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
 }
 
 static void at_cmd_cops(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
-							void *user_data)
+								void *user_data)
 {
 	unsigned int val;
 
@@ -390,7 +390,7 @@ static void at_cmd_cops(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
 }
 
 static void at_cmd_bia(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
-							void *user_data)
+								void *user_data)
 {
 	unsigned int val, i, def;
 	bool tmp[IND_COUNT];
@@ -435,7 +435,7 @@ failed:
 }
 
 static void at_cmd_a(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
-							void *user_data)
+								void *user_data)
 {
 	DBG("");
 
@@ -460,7 +460,7 @@ static void at_cmd_a(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
 }
 
 static void at_cmd_d(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
-							void *user_data)
+								void *user_data)
 {
 	char buf[IPC_MTU];
 	struct hal_ev_handsfree_dial *ev = (void *) buf;
@@ -503,7 +503,7 @@ static void at_cmd_d(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
 }
 
 static void at_cmd_ccwa(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
-							void *user_data)
+								void *user_data)
 {
 	unsigned int val;
 
@@ -531,7 +531,7 @@ static void at_cmd_ccwa(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
 }
 
 static void at_cmd_chup(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
-							void *user_data)
+								void *user_data)
 {
 	DBG("");
 
@@ -556,7 +556,7 @@ static void at_cmd_chup(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
 }
 
 static void at_cmd_clcc(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
-							void *user_data)
+								void *user_data)
 {
 	DBG("");
 
@@ -578,7 +578,7 @@ static void at_cmd_clcc(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
 }
 
 static void at_cmd_cmee(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
-							void *user_data)
+								void *user_data)
 {
 	unsigned int val;
 
@@ -606,7 +606,7 @@ static void at_cmd_cmee(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
 }
 
 static void at_cmd_clip(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
-							void *user_data)
+								void *user_data)
 {
 	unsigned int val;
 
@@ -634,7 +634,7 @@ static void at_cmd_clip(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
 }
 
 static void at_cmd_vts(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
-							void *user_data)
+								void *user_data)
 {
 	struct hal_ev_handsfree_dtmf ev;
 	char str[2];
@@ -672,7 +672,7 @@ static void at_cmd_vts(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
 }
 
 static void at_cmd_cnum(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
-							void *user_data)
+								void *user_data)
 {
 	DBG("");
 
@@ -694,7 +694,7 @@ static void at_cmd_cnum(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
 }
 
 static void at_cmd_binp(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
-							void *user_data)
+								void *user_data)
 {
 	DBG("");
 
@@ -704,7 +704,7 @@ static void at_cmd_binp(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
 }
 
 static void at_cmd_bldn(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
-							void *user_data)
+								void *user_data)
 {
 	struct hal_ev_handsfree_dial ev;
 
@@ -728,7 +728,7 @@ static void at_cmd_bldn(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
 }
 
 static void at_cmd_bvra(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
-							void *user_data)
+								void *user_data)
 {
 	struct hal_ev_handsfree_vr_state ev;
 	unsigned int val;
@@ -761,7 +761,7 @@ static void at_cmd_bvra(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
 }
 
 static void at_cmd_nrec(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
-							void *user_data)
+								void *user_data)
 {
 	struct hal_ev_handsfree_nrec ev;
 	unsigned int val;
@@ -799,7 +799,7 @@ static void at_cmd_nrec(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
 }
 
 static void at_cmd_bsir(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
-							void *user_data)
+								void *user_data)
 {
 	DBG("");
 
@@ -809,7 +809,7 @@ static void at_cmd_bsir(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
 }
 
 static void at_cmd_btrh(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
-							void *user_data)
+								void *user_data)
 {
 	DBG("");
 
@@ -928,7 +928,7 @@ static bool connect_sco(void)
 }
 
 static void at_cmd_bcc(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
-							void *user_data)
+								void *user_data)
 {
 	DBG("");
 
@@ -965,7 +965,7 @@ static void at_cmd_bcc(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
 }
 
 static void at_cmd_bcs(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
-							void *user_data)
+								void *user_data)
 {
 	unsigned int val;
 
@@ -1003,7 +1003,7 @@ static void at_cmd_bcs(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
 }
 
 static void at_cmd_ckpd(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
-							void *user_data)
+								void *user_data)
 {
 	unsigned int val;
 
@@ -1064,7 +1064,7 @@ static void register_post_slc_at(void)
 }
 
 static void at_cmd_cmer(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
-							void *user_data)
+								void *user_data)
 {
 	unsigned int val;
 
@@ -1109,7 +1109,7 @@ static void at_cmd_cmer(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
 }
 
 static void at_cmd_cind(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
-							void *user_data)
+								void *user_data)
 {
 	char *buf, *ptr;
 	int len;
@@ -1166,7 +1166,7 @@ static void at_cmd_cind(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
 }
 
 static void at_cmd_brsf(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
-							void *user_data)
+								void *user_data)
 {
 	unsigned int feat;
 
@@ -1194,7 +1194,7 @@ static void at_cmd_brsf(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
 }
 
 static void at_cmd_chld(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
-							void *user_data)
+								void *user_data)
 {
 	struct hal_ev_handsfree_chld ev;
 	unsigned int val;
@@ -1243,7 +1243,7 @@ static struct hfp_codec *find_codec_by_type(uint8_t type)
 }
 
 static void at_cmd_bac(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
-							void *user_data)
+								void *user_data)
 {
 	unsigned int val;
 
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] android/handsfree: Fix alignment
  2014-08-20 13:05 [PATCH] android/handsfree: Fix alignment Andrei Emeltchenko
@ 2014-08-22  8:20 ` Szymon Janc
  0 siblings, 0 replies; 2+ messages in thread
From: Szymon Janc @ 2014-08-22  8:20 UTC (permalink / raw)
  To: Andrei Emeltchenko; +Cc: linux-bluetooth

Hi Andrei,

On Wednesday 20 of August 2014 16:05:59 Andrei Emeltchenko wrote:
> From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
> 
> ---
>  android/handsfree.c | 50 +++++++++++++++++++++++++-------------------------
>  1 file changed, 25 insertions(+), 25 deletions(-)
> 
> diff --git a/android/handsfree.c b/android/handsfree.c
> index bad7086..c06f65c 100644
> --- a/android/handsfree.c
> +++ b/android/handsfree.c
> @@ -360,7 +360,7 @@ static void at_cmd_vgs(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
>  }
>  
>  static void at_cmd_cops(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
> -							void *user_data)
> +								void *user_data)
>  {
>  	unsigned int val;
>  
> @@ -390,7 +390,7 @@ static void at_cmd_cops(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
>  }
>  
>  static void at_cmd_bia(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
> -							void *user_data)
> +								void *user_data)
>  {
>  	unsigned int val, i, def;
>  	bool tmp[IND_COUNT];
> @@ -435,7 +435,7 @@ failed:
>  }
>  
>  static void at_cmd_a(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
> -							void *user_data)
> +								void *user_data)
>  {
>  	DBG("");
>  
> @@ -460,7 +460,7 @@ static void at_cmd_a(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
>  }
>  
>  static void at_cmd_d(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
> -							void *user_data)
> +								void *user_data)
>  {
>  	char buf[IPC_MTU];
>  	struct hal_ev_handsfree_dial *ev = (void *) buf;
> @@ -503,7 +503,7 @@ static void at_cmd_d(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
>  }
>  
>  static void at_cmd_ccwa(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
> -							void *user_data)
> +								void *user_data)
>  {
>  	unsigned int val;
>  
> @@ -531,7 +531,7 @@ static void at_cmd_ccwa(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
>  }
>  
>  static void at_cmd_chup(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
> -							void *user_data)
> +								void *user_data)
>  {
>  	DBG("");
>  
> @@ -556,7 +556,7 @@ static void at_cmd_chup(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
>  }
>  
>  static void at_cmd_clcc(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
> -							void *user_data)
> +								void *user_data)
>  {
>  	DBG("");
>  
> @@ -578,7 +578,7 @@ static void at_cmd_clcc(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
>  }
>  
>  static void at_cmd_cmee(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
> -							void *user_data)
> +								void *user_data)
>  {
>  	unsigned int val;
>  
> @@ -606,7 +606,7 @@ static void at_cmd_cmee(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
>  }
>  
>  static void at_cmd_clip(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
> -							void *user_data)
> +								void *user_data)
>  {
>  	unsigned int val;
>  
> @@ -634,7 +634,7 @@ static void at_cmd_clip(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
>  }
>  
>  static void at_cmd_vts(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
> -							void *user_data)
> +								void *user_data)
>  {
>  	struct hal_ev_handsfree_dtmf ev;
>  	char str[2];
> @@ -672,7 +672,7 @@ static void at_cmd_vts(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
>  }
>  
>  static void at_cmd_cnum(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
> -							void *user_data)
> +								void *user_data)
>  {
>  	DBG("");
>  
> @@ -694,7 +694,7 @@ static void at_cmd_cnum(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
>  }
>  
>  static void at_cmd_binp(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
> -							void *user_data)
> +								void *user_data)
>  {
>  	DBG("");
>  
> @@ -704,7 +704,7 @@ static void at_cmd_binp(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
>  }
>  
>  static void at_cmd_bldn(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
> -							void *user_data)
> +								void *user_data)
>  {
>  	struct hal_ev_handsfree_dial ev;
>  
> @@ -728,7 +728,7 @@ static void at_cmd_bldn(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
>  }
>  
>  static void at_cmd_bvra(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
> -							void *user_data)
> +								void *user_data)
>  {
>  	struct hal_ev_handsfree_vr_state ev;
>  	unsigned int val;
> @@ -761,7 +761,7 @@ static void at_cmd_bvra(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
>  }
>  
>  static void at_cmd_nrec(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
> -							void *user_data)
> +								void *user_data)
>  {
>  	struct hal_ev_handsfree_nrec ev;
>  	unsigned int val;
> @@ -799,7 +799,7 @@ static void at_cmd_nrec(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
>  }
>  
>  static void at_cmd_bsir(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
> -							void *user_data)
> +								void *user_data)
>  {
>  	DBG("");
>  
> @@ -809,7 +809,7 @@ static void at_cmd_bsir(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
>  }
>  
>  static void at_cmd_btrh(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
> -							void *user_data)
> +								void *user_data)
>  {
>  	DBG("");
>  
> @@ -928,7 +928,7 @@ static bool connect_sco(void)
>  }
>  
>  static void at_cmd_bcc(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
> -							void *user_data)
> +								void *user_data)
>  {
>  	DBG("");
>  
> @@ -965,7 +965,7 @@ static void at_cmd_bcc(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
>  }
>  
>  static void at_cmd_bcs(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
> -							void *user_data)
> +								void *user_data)
>  {
>  	unsigned int val;
>  
> @@ -1003,7 +1003,7 @@ static void at_cmd_bcs(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
>  }
>  
>  static void at_cmd_ckpd(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
> -							void *user_data)
> +								void *user_data)
>  {
>  	unsigned int val;
>  
> @@ -1064,7 +1064,7 @@ static void register_post_slc_at(void)
>  }
>  
>  static void at_cmd_cmer(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
> -							void *user_data)
> +								void *user_data)
>  {
>  	unsigned int val;
>  
> @@ -1109,7 +1109,7 @@ static void at_cmd_cmer(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
>  }
>  
>  static void at_cmd_cind(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
> -							void *user_data)
> +								void *user_data)
>  {
>  	char *buf, *ptr;
>  	int len;
> @@ -1166,7 +1166,7 @@ static void at_cmd_cind(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
>  }
>  
>  static void at_cmd_brsf(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
> -							void *user_data)
> +								void *user_data)
>  {
>  	unsigned int feat;
>  
> @@ -1194,7 +1194,7 @@ static void at_cmd_brsf(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
>  }
>  
>  static void at_cmd_chld(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
> -							void *user_data)
> +								void *user_data)
>  {
>  	struct hal_ev_handsfree_chld ev;
>  	unsigned int val;
> @@ -1243,7 +1243,7 @@ static struct hfp_codec *find_codec_by_type(uint8_t type)
>  }
>  
>  static void at_cmd_bac(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
> -							void *user_data)
> +								void *user_data)
>  {
>  	unsigned int val;
>  
> 

Applied, thanks.

-- 
Best regards, 
Szymon Janc

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-22  8:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-20 13:05 [PATCH] android/handsfree: Fix alignment Andrei Emeltchenko
2014-08-22  8:20 ` Szymon Janc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.