Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752758AbdHJNl5 (ORCPT ); Thu, 10 Aug 2017 09:41:57 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:38391 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752168AbdHJNlz (ORCPT ); Thu, 10 Aug 2017 09:41:55 -0400 Date: Thu, 10 Aug 2017 17:44:13 +0200 From: Marcin Ciupak To: Greg Kroah-Hartman Cc: Marcus Wolf , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] staging: pi433: rf69.c style fix - spaces open brace Message-ID: <69b749a5707a5a8ad4da06a66643c339ce6e99bc.1502379526.git.marcin.s.ciupak@gmail.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 993 Lines: 26 This patch fixes the following checkpatch.pl error: ERROR: space required before the open brace '{' in rf69.c file as requested by TODO file. Signed-off-by: Marcin Ciupak --- drivers/staging/pi433/rf69.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/pi433/rf69.c b/drivers/staging/pi433/rf69.c index 746ef70babf7..3e37bd205229 100644 --- a/drivers/staging/pi433/rf69.c +++ b/drivers/staging/pi433/rf69.c @@ -49,7 +49,7 @@ int rf69_set_mode(struct spi_device *spi, enum mode mode) dev_dbg(&spi->dev, "set: mode"); #endif - switch (mode){ + switch (mode) { case transmit: return WRITE_REG(REG_OPMODE, (READ_REG(REG_OPMODE) & ~MASK_OPMODE_MODE) | OPMODE_MODE_TRANSMIT); case receive: return WRITE_REG(REG_OPMODE, (READ_REG(REG_OPMODE) & ~MASK_OPMODE_MODE) | OPMODE_MODE_RECEIVE); case synthesizer: return WRITE_REG(REG_OPMODE, (READ_REG(REG_OPMODE) & ~MASK_OPMODE_MODE) | OPMODE_MODE_SYNTHESIZER); -- 2.13.0