aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_ldisc.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-04-04 22:57:22 -0400
committerMarcel Holtmann <marcel@holtmann.org>2015-04-07 12:47:09 -0400
commitfacf5225e88c03170e66f76ff498e0c29f41a64a (patch)
tree6b770f5d5d83a33511d5d090eb73ce71a98a6afc /drivers/bluetooth/hci_ldisc.c
parentdfe19d28200f0d2306ef1510bbea3df18e22a6bc (diff)
Bluetooth: hci_uart: Fix indentation issues for multi-line functions
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'drivers/bluetooth/hci_ldisc.c')
-rw-r--r--drivers/bluetooth/hci_ldisc.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/drivers/bluetooth/hci_ldisc.c b/drivers/bluetooth/hci_ldisc.c
index c577a40e790d..a3b906bcfca6 100644
--- a/drivers/bluetooth/hci_ldisc.c
+++ b/drivers/bluetooth/hci_ldisc.c
@@ -429,7 +429,8 @@ static void hci_uart_tty_wakeup(struct tty_struct *tty)
429 * 429 *
430 * Return Value: None 430 * Return Value: None
431 */ 431 */
432static void hci_uart_tty_receive(struct tty_struct *tty, const u8 *data, char *flags, int count) 432static void hci_uart_tty_receive(struct tty_struct *tty, const u8 *data,
433 char *flags, int count)
433{ 434{
434 struct hci_uart *hu = tty->disc_data; 435 struct hci_uart *hu = tty->disc_data;
435 436
@@ -557,8 +558,8 @@ static int hci_uart_set_flags(struct hci_uart *hu, unsigned long flags)
557 * 558 *
558 * Return Value: Command dependent 559 * Return Value: Command dependent
559 */ 560 */
560static int hci_uart_tty_ioctl(struct tty_struct *tty, struct file * file, 561static int hci_uart_tty_ioctl(struct tty_struct *tty, struct file *file,
561 unsigned int cmd, unsigned long arg) 562 unsigned int cmd, unsigned long arg)
562{ 563{
563 struct hci_uart *hu = tty->disc_data; 564 struct hci_uart *hu = tty->disc_data;
564 int err = 0; 565 int err = 0;
@@ -614,19 +615,19 @@ static int hci_uart_tty_ioctl(struct tty_struct *tty, struct file * file,
614 * We don't provide read/write/poll interface for user space. 615 * We don't provide read/write/poll interface for user space.
615 */ 616 */
616static ssize_t hci_uart_tty_read(struct tty_struct *tty, struct file *file, 617static ssize_t hci_uart_tty_read(struct tty_struct *tty, struct file *file,
617 unsigned char __user *buf, size_t nr) 618 unsigned char __user *buf, size_t nr)
618{ 619{
619 return 0; 620 return 0;
620} 621}
621 622
622static ssize_t hci_uart_tty_write(struct tty_struct *tty, struct file *file, 623static ssize_t hci_uart_tty_write(struct tty_struct *tty, struct file *file,
623 const unsigned char *data, size_t count) 624 const unsigned char *data, size_t count)
624{ 625{
625 return 0; 626 return 0;
626} 627}
627 628
628static unsigned int hci_uart_tty_poll(struct tty_struct *tty, 629static unsigned int hci_uart_tty_poll(struct tty_struct *tty,
629 struct file *filp, poll_table *wait) 630 struct file *filp, poll_table *wait)
630{ 631{
631 return 0; 632 return 0;
632} 633}