On Thu Aug 21 13:35:20 2025 +0000, Adrian Barnaś wrote:
> Clean up coding style whitespace issues
> in drivers/staging/media/atomisp/pci/hive_isp_css_common/host/gdc.c.
> 
> Fixes include:
>  - removal of unnecessary line breaks
>  - correcting spacing around operators
>  - correcting spaces between types and names
> 
> Signed-off-by: Adrian Barnaś <[email protected]>
> Signed-off-by: Sakari Ailus <[email protected]>

Patch committed.

Thanks,
Sakari Ailus

 .../atomisp/pci/hive_isp_css_common/host/gdc.c      | 21 ++++++++-------------
 1 file changed, 8 insertions(+), 13 deletions(-)

---

diff --git a/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/gdc.c 
b/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/gdc.c
index 8bb78b4d7c67..a06d69353939 100644
--- a/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/gdc.c
+++ b/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/gdc.c
@@ -26,9 +26,7 @@ static inline void gdc_reg_store(
 /*
  * Exported function implementations
  */
-void gdc_lut_store(
-    const gdc_ID_t             ID,
-    const int                  data[4][HRT_GDC_N])
+void gdc_lut_store(const gdc_ID_t ID, const int data[4][HRT_GDC_N])
 {
        unsigned int i, lut_offset = HRT_GDC_LUT_IDX;
 
@@ -36,15 +34,13 @@ void gdc_lut_store(
        assert(HRT_GDC_LUT_COEFF_OFFSET <= (4 * sizeof(hrt_data)));
 
        for (i = 0; i < HRT_GDC_N; i++) {
-               hrt_data        entry_0 = data[0][i] & HRT_GDC_BCI_COEF_MASK;
-               hrt_data        entry_1 = data[1][i] & HRT_GDC_BCI_COEF_MASK;
-               hrt_data        entry_2 = data[2][i] & HRT_GDC_BCI_COEF_MASK;
-               hrt_data        entry_3 = data[3][i] & HRT_GDC_BCI_COEF_MASK;
+               hrt_data entry_0 = data[0][i] & HRT_GDC_BCI_COEF_MASK;
+               hrt_data entry_1 = data[1][i] & HRT_GDC_BCI_COEF_MASK;
+               hrt_data entry_2 = data[2][i] & HRT_GDC_BCI_COEF_MASK;
+               hrt_data entry_3 = data[3][i] & HRT_GDC_BCI_COEF_MASK;
 
-               hrt_data        word_0 = entry_0 |
-                                    (entry_1 << HRT_GDC_LUT_COEFF_OFFSET);
-               hrt_data        word_1 = entry_2 |
-                                    (entry_3 << HRT_GDC_LUT_COEFF_OFFSET);
+               hrt_data word_0 = entry_0 | (entry_1 << 
HRT_GDC_LUT_COEFF_OFFSET);
+               hrt_data word_1 = entry_2 | (entry_3 << 
HRT_GDC_LUT_COEFF_OFFSET);
 
                gdc_reg_store(ID, lut_offset++, word_0);
                gdc_reg_store(ID, lut_offset++, word_1);
@@ -85,8 +81,7 @@ void gdc_lut_convert_to_isp_format(const int 
in_lut[4][HRT_GDC_N],
        }
 }
 
-int gdc_get_unity(
-    const gdc_ID_t             ID)
+int gdc_get_unity(const gdc_ID_t ID)
 {
        assert(ID < N_GDC_ID);
        (void)ID;
_______________________________________________
linuxtv-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to