* [PATCH] staging: greybus Remove multiple blank lines
@ 2018-11-02 23:09 Ioannis Valasakis
0 siblings, 0 replies; 2+ messages in thread
From: Ioannis Valasakis @ 2018-11-02 23:09 UTC (permalink / raw)
To: outreachy-kernel; +Cc: gregkh
Remove continuous multiple blank lines
Reported by checkpatch.
Signed-off-by: Ioannis Valasakis <code@wizofe.uk>
---
drivers/staging/greybus/arche-apb-ctrl.c | 1 -
drivers/staging/greybus/connection.c | 4 ----
2 files changed, 5 deletions(-)
diff --git a/drivers/staging/greybus/arche-apb-ctrl.c b/drivers/staging/greybus/arche-apb-ctrl.c
index cc8d6fc831b4..be5ffed90bcf 100644
--- a/drivers/staging/greybus/arche-apb-ctrl.c
+++ b/drivers/staging/greybus/arche-apb-ctrl.c
@@ -20,7 +20,6 @@
#include <linux/spinlock.h>
#include "arche_platform.h"
-
static void apb_bootret_deassert(struct device *dev);
struct arche_apb_ctrl_drvdata {
diff --git a/drivers/staging/greybus/connection.c b/drivers/staging/greybus/connection.c
index 2103168b585e..56ae30533a70 100644
--- a/drivers/staging/greybus/connection.c
+++ b/drivers/staging/greybus/connection.c
@@ -11,17 +11,13 @@
#include "greybus.h"
#include "greybus_trace.h"
-
#define GB_CONNECTION_CPORT_QUIESCE_TIMEOUT 1000
-
static void gb_connection_kref_release(struct kref *kref);
-
static DEFINE_SPINLOCK(gb_connections_lock);
static DEFINE_MUTEX(gb_connection_mutex);
-
/* Caller holds gb_connection_mutex. */
static bool gb_connection_cport_in_use(struct gb_interface *intf, u16 cport_id)
{
--
2.19.1
--
ta
ioannis
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] staging: greybus: remove multiple blank lines
@ 2018-11-02 23:31 Ioannis Valasakis
0 siblings, 0 replies; 2+ messages in thread
From: Ioannis Valasakis @ 2018-11-02 23:31 UTC (permalink / raw)
To: outreachy-kernel; +Cc: gregkh
Remove extra blank lines to conform with the warning.
Reported by checkpatch.
Signed-off-by: Ioannis Valasakis <code@wizofe.uk>
---
drivers/staging/greybus/greybus_protocols.h | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/drivers/staging/greybus/greybus_protocols.h b/drivers/staging/greybus/greybus_protocols.h
index 9bd7b6dfb476..f38f4a8db2b7 100644
--- a/drivers/staging/greybus/greybus_protocols.h
+++ b/drivers/staging/greybus/greybus_protocols.h
@@ -65,7 +65,6 @@
#define GB_CONTROL_BUNDLE_ID 0
#define GB_CONTROL_CPORT_ID 0
-
/*
* All operation messages (both requests and responses) begin with
* a header that encodes the size of the message (header included).
@@ -95,7 +94,6 @@ struct gb_operation_msg_hdr {
__u8 pad[2]; /* must be zero (ignore when read) */
} __packed;
-
/* Generic request types */
#define GB_REQUEST_TYPE_CPORT_SHUTDOWN 0x00
#define GB_REQUEST_TYPE_INVALID 0x7f
@@ -104,7 +102,6 @@ struct gb_cport_shutdown_request {
__u8 phase;
} __packed;
-
/* Control Protocol */
/* Greybus control request types */
@@ -249,7 +246,6 @@ struct gb_apb_request_cport_flags {
#define GB_APB_CPORT_FLAG_HIGH_PRIO 0x02
} __packed;
-
/* Firmware Download Protocol */
/* Request Types */
@@ -286,7 +282,6 @@ struct gb_fw_download_release_firmware_request {
} __packed;
/* firmware download release firmware response has no payload */
-
/* Firmware Management Protocol */
/* Request Types */
@@ -368,7 +363,6 @@ struct gb_fw_mgmt_backend_fw_updated_request {
} __packed;
/* firmware management backend firmware updated response has no payload */
-
/* Component Authentication Protocol (CAP) */
/* Request Types */
@@ -405,7 +399,6 @@ struct gb_cap_authenticate_response {
__u8 signature[0];
} __packed;
-
/* Bootrom Protocol */
/* Version of the Greybus bootrom protocol we support */
@@ -474,7 +467,6 @@ struct gb_bootrom_get_vid_pid_response {
__le32 product_id;
} __packed;
-
/* Power Supply */
/* Greybus power supply request types */
@@ -648,7 +640,6 @@ struct gb_power_supply_event_request {
#define GB_POWER_SUPPLY_UPDATE 0x01
} __packed;
-
/* HID */
/* Greybus HID operation types */
@@ -694,7 +685,6 @@ struct gb_hid_input_report_request {
__u8 report[0];
} __packed;
-
/* I2C */
/* Greybus i2c request types */
@@ -730,7 +720,6 @@ struct gb_i2c_transfer_response {
__u8 data[0]; /* inbound data */
} __packed;
-
/* GPIO */
/* Greybus GPIO request types */
@@ -829,7 +818,6 @@ struct gb_gpio_irq_event_request {
} __packed;
/* irq event has no response */
-
/* PWM */
/* Greybus PWM operation types */
@@ -1317,7 +1305,6 @@ struct gb_svc_intf_oops_request {
} __packed;
/* intf_oops response has no payload */
-
/* RAW */
/* Greybus raw request types */
@@ -1328,7 +1315,6 @@ struct gb_raw_send_request {
__u8 data[0];
} __packed;
-
/* UART */
/* Greybus UART operation types */
@@ -2204,7 +2190,6 @@ struct gb_audio_send_data_request {
__u8 data[0];
} __packed;
-
/* Log */
/* operations */
--
2.19.1
--
ta
ioannis
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-11-02 23:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-02 23:31 [PATCH] staging: greybus: remove multiple blank lines Ioannis Valasakis
-- strict thread matches above, loose matches on Subject: below --
2018-11-02 23:09 [PATCH] staging: greybus Remove " Ioannis Valasakis
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.