DriverDev-Devel Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] Staging : media : atomisp : pci : fixed a brace coding sytle issue
@ 2020-07-27  8:01 Ankit
  2020-07-27 12:16 ` Andy Shevchenko
  0 siblings, 1 reply; 13+ messages in thread
From: Ankit @ 2020-07-27  8:01 UTC (permalink / raw)
  To: mchehab, gregkh, sakari.ailus, andriy.shevchenko
  Cc: devel, linux-kernel, b18007, linux-media

From: Ankit Baluni<b18007@students.iitmandi.ac.in>

Fixed a coding style issue.

Signed-off-by: Ankit Baluni<b18007@students.iitmandi.ac.in>

---
 drivers/staging/media/atomisp/pci/atomisp_cmd.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/media/atomisp/pci/atomisp_cmd.c b/drivers/staging/media/atomisp/pci/atomisp_cmd.c
index 8ea65bef35d2..28b96b66f4f3 100644
--- a/drivers/staging/media/atomisp/pci/atomisp_cmd.c
+++ b/drivers/staging/media/atomisp/pci/atomisp_cmd.c
@@ -4981,9 +4981,8 @@ enum mipi_port_id __get_mipi_port(struct atomisp_device *isp,
 	case ATOMISP_CAMERA_PORT_SECONDARY:
 		return MIPI_PORT1_ID;
 	case ATOMISP_CAMERA_PORT_TERTIARY:
-		if (MIPI_PORT1_ID + 1 != N_MIPI_PORT_ID) {
+		if (MIPI_PORT1_ID + 1 != N_MIPI_PORT_ID)
 			return MIPI_PORT1_ID + 1;
-		}
 	/* fall through */
 	default:
 		dev_err(isp->dev, "unsupported port: %d\n", port);
-- 
2.25.1

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH] Staging : media : atomisp : pci : fixed a brace coding sytle issue
@ 2020-07-27  7:55 Ankit
  0 siblings, 0 replies; 13+ messages in thread
From: Ankit @ 2020-07-27  7:55 UTC (permalink / raw)
  To: mchehab
  Cc: devel, gregkh, linux-kernel, sakari.ailus, andriy.shevchenko,
	b18007, linux-media

From: Ankit Baluni<b18007@students.iitmandi.ac.in>

Fixed a coding style issue.

Signed-off-by: Ankit Baluni<b18007@students.iitmandi.ac.in>

---
 drivers/staging/media/atomisp/pci/atomisp_cmd.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/media/atomisp/pci/atomisp_cmd.c b/drivers/staging/media/atomisp/pci/atomisp_cmd.c
index 8ea65bef35d2..28b96b66f4f3 100644
--- a/drivers/staging/media/atomisp/pci/atomisp_cmd.c
+++ b/drivers/staging/media/atomisp/pci/atomisp_cmd.c
@@ -4981,9 +4981,8 @@ enum mipi_port_id __get_mipi_port(struct atomisp_device *isp,
 	case ATOMISP_CAMERA_PORT_SECONDARY:
 		return MIPI_PORT1_ID;
 	case ATOMISP_CAMERA_PORT_TERTIARY:
-		if (MIPI_PORT1_ID + 1 != N_MIPI_PORT_ID) {
+		if (MIPI_PORT1_ID + 1 != N_MIPI_PORT_ID)
 			return MIPI_PORT1_ID + 1;
-		}
 	/* fall through */
 	default:
 		dev_err(isp->dev, "unsupported port: %d\n", port);
-- 
2.25.1

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

end of thread, back to index

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-27  8:01 [PATCH] Staging : media : atomisp : pci : fixed a brace coding sytle issue Ankit
2020-07-27 12:16 ` Andy Shevchenko
2020-07-27 21:30   ` [PATCH] Staging : media : atomisp " Ankit
2020-07-28  7:37     ` Greg KH
2020-07-28  8:23       ` [PATCH v2] " Ankit
2020-07-28  8:43         ` Greg KH
2020-07-28  9:02           ` Ankit
2020-07-28 22:59           ` Ankit
2020-07-29  7:39             ` [PATCH v3] " Ankit Baluni
2020-07-29  7:45               ` Greg KH
2020-07-29  7:49             ` [PATCH v3] Staging: media: atomisp: " Ankit Baluni
2020-07-29 10:56               ` Andy Shevchenko
  -- strict thread matches above, loose matches on Subject: below --
2020-07-27  7:55 [PATCH] Staging : media : atomisp : pci : " Ankit

DriverDev-Devel Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/driverdev-devel/0 driverdev-devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 driverdev-devel driverdev-devel/ https://lore.kernel.org/driverdev-devel \
		driverdev-devel@linuxdriverproject.org devel@driverdev.osuosl.org
	public-inbox-index driverdev-devel

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.linuxdriverproject.driverdev-devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git