All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] media: atomisp: Fix whitespace at the beginning of line
@ 2021-05-24 17:36 Aniket Bhattacharyea
  2021-05-24 18:28 ` Sakari Ailus
  0 siblings, 1 reply; 2+ messages in thread
From: Aniket Bhattacharyea @ 2021-05-24 17:36 UTC (permalink / raw)
  To: mchehab, sakari.ailus, gregkh, andriy.shevchenko
  Cc: linux-media, linux-staging, linux-kernel, Aniket Bhattacharyea

This patch fixes whitespace at the beginning of line by wrapping after
the type name and aligning the arguments with the open parenthesis.
Identified by checkpatch: WARNING: please, no spaces at the start of a 
line.

Signed-off-by: Aniket Bhattacharyea <aniketmail669@gmail.com>
---
Changes in v2:
  - Wrap after the type name instead of replacing whitespace with tabs

 drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c b/drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c
index 135994d44802..d8c9e31314b2 100644
--- a/drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c
+++ b/drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c
@@ -1040,10 +1040,10 @@ static struct camera_sensor_platform_data acpi_gmin_plat = {
 	.get_vcm_ctrl = gmin_get_vcm_ctrl,
 };
 
-struct camera_sensor_platform_data *gmin_camera_platform_data(
-    struct v4l2_subdev *subdev,
-    enum atomisp_input_format csi_format,
-    enum atomisp_bayer_order csi_bayer)
+struct camera_sensor_platform_data *
+gmin_camera_platform_data(struct v4l2_subdev *subdev,
+			  enum atomisp_input_format csi_format,
+			  enum atomisp_bayer_order csi_bayer)
 {
 	u8 pmic_i2c_addr = gmin_detect_pmic(subdev);
 	struct gmin_subdev *gs;
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] media: atomisp: Fix whitespace at the beginning of line
  2021-05-24 17:36 [PATCH v2] media: atomisp: Fix whitespace at the beginning of line Aniket Bhattacharyea
@ 2021-05-24 18:28 ` Sakari Ailus
  0 siblings, 0 replies; 2+ messages in thread
From: Sakari Ailus @ 2021-05-24 18:28 UTC (permalink / raw)
  To: Aniket Bhattacharyea
  Cc: mchehab, gregkh, andriy.shevchenko, linux-media, linux-staging,
	linux-kernel

On Mon, May 24, 2021 at 11:06:09PM +0530, Aniket Bhattacharyea wrote:
> This patch fixes whitespace at the beginning of line by wrapping after
> the type name and aligning the arguments with the open parenthesis.
> Identified by checkpatch: WARNING: please, no spaces at the start of a 
> line.
> 
> Signed-off-by: Aniket Bhattacharyea <aniketmail669@gmail.com>

Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>

-- 
Sakari Ailus

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-24 18:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-24 17:36 [PATCH v2] media: atomisp: Fix whitespace at the beginning of line Aniket Bhattacharyea
2021-05-24 18:28 ` Sakari Ailus

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.