[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250826104414.2817514-2-abarnas@google.com>
Date: Tue, 26 Aug 2025 10:44:12 +0000
From: "Adrian Barnaś" <abarnas@...gle.com>
To: Hans de Goede <hansg@...nel.org>, Mauro Carvalho Chehab <mchehab@...nel.org>,
Sakari Ailus <sakari.ailus@...ux.intel.com>, Andy Shevchenko <andy@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Dan Carpenter <dan.carpenter@...aro.org>,
linux-media@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-staging@...ts.linux.dev
Cc: "Adrian Barnaś" <abarnas@...gle.com>
Subject: [PATCH 2/4] staging: media: atomisp: Whitespaces style cleanup in fifo_monitor.c
Clean up coding style whitespaces issues in
media/atomisp/pci/hive_isp_css_common/host/fifo_monitor.c.
Fixes include:
- remove unnecessary line breaks
- correcting spaces between types and names
Signed-off-by: Adrian Barnaś <abarnas@...gle.com>
---
.../hive_isp_css_common/host/fifo_monitor.c | 23 ++++++++-----------
1 file changed, 9 insertions(+), 14 deletions(-)
diff --git a/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/fifo_monitor.c b/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/fifo_monitor.c
index c5f78c5cf04c6..76762fc0929cc 100644
--- a/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/fifo_monitor.c
+++ b/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/fifo_monitor.c
@@ -49,10 +49,9 @@ static inline bool fifo_monitor_status_accept(const fifo_monitor_ID_t ID,
return (data >> (((port_id * 2) + _hive_str_mon_accept_offset))) & 0x1;
}
-void fifo_channel_get_state(
- const fifo_monitor_ID_t ID,
- const fifo_channel_t channel_id,
- fifo_channel_state_t *state)
+void fifo_channel_get_state(const fifo_monitor_ID_t ID,
+ const fifo_channel_t channel_id,
+ fifo_channel_state_t *state)
{
assert(channel_id < N_FIFO_CHANNEL);
assert(state);
@@ -504,12 +503,10 @@ void fifo_channel_get_state(
return;
}
-void fifo_switch_get_state(
- const fifo_monitor_ID_t ID,
- const fifo_switch_t switch_id,
- fifo_switch_state_t *state)
+void fifo_switch_get_state(const fifo_monitor_ID_t ID, const fifo_switch_t switch_id,
+ fifo_switch_state_t *state)
{
- hrt_data data = (hrt_data)-1;
+ hrt_data data = (hrt_data)-1;
assert(ID == FIFO_MONITOR0_ID);
assert(switch_id < N_FIFO_SWITCH);
@@ -526,12 +523,10 @@ void fifo_switch_get_state(
return;
}
-void fifo_monitor_get_state(
- const fifo_monitor_ID_t ID,
- fifo_monitor_state_t *state)
+void fifo_monitor_get_state(const fifo_monitor_ID_t ID, fifo_monitor_state_t *state)
{
- fifo_channel_t ch_id;
- fifo_switch_t sw_id;
+ fifo_channel_t ch_id;
+ fifo_switch_t sw_id;
assert(ID < N_FIFO_MONITOR_ID);
assert(state);
--
2.51.0.261.g7ce5a0a67e-goog
Powered by blists - more mailing lists