All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/3] drivers: bluetooth: bfusb Line over 80 characters in function
@ 2016-09-14 15:21 Anchal Jain
  0 siblings, 0 replies; only message in thread
From: Anchal Jain @ 2016-09-14 15:21 UTC (permalink / raw)
  To: johan.hedberg; +Cc: outreachy-kernel, gustavo

This patch remove the warning of checkpatch.pl Line over 80 characters.
to remove this warning break the function argument list into small chunks.


Signed-off-by: Anchal Jain <anchalj109@gmail.com>
---
 drivers/bluetooth/bfusb.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/bluetooth/bfusb.c b/drivers/bluetooth/bfusb.c
index 1c2e16d..9ae179e 100644
--- a/drivers/bluetooth/bfusb.c
+++ b/drivers/bluetooth/bfusb.c
@@ -257,7 +257,8 @@ static int bfusb_rx_submit(struct bfusb_data *data, struct urb *urb)
 	return err;
 }
 
-static inline int bfusb_recv_block(struct bfusb_data *data, int hdr, unsigned char *buf, int len)
+static inline int bfusb_recv_block(struct bfusb_data *data, int hdr,
+				    unsigned char *buf, int len)
 {
 	BT_DBG("bfusb %p hdr 0x%02x data %p len %d", data, hdr, buf, len);
 
@@ -620,7 +621,8 @@ error:
 	return err;
 }
 
-static int bfusb_probe(struct usb_interface *intf, const struct usb_device_id *id)
+static int bfusb_probe(struct usb_interface *intf,
+		       const struct usb_device_id *id)
 {
 	const struct firmware *firmware;
 	struct usb_device *udev = interface_to_usbdev(intf);
-- 
1.9.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-09-14 15:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-14 15:21 [PATCH 2/3] drivers: bluetooth: bfusb Line over 80 characters in function Anchal Jain

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.