Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3185772ybi; Sun, 2 Jun 2019 09:00:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqzd8wX4mCNLeW6A7WP1ggaiaEodiqvTcIBX5POraJvjUR5wtEJ6KTMW+HnUd38zgKG64VjO X-Received: by 2002:a17:902:e65:: with SMTP id 92mr23114117plw.13.1559491259100; Sun, 02 Jun 2019 09:00:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559491259; cv=none; d=google.com; s=arc-20160816; b=yVsYTcazyqn/K00fa/I8tBppZxwkTPHl+KvIugHdNOrh5DNf2ZHOgcG2viESgriS10 fsP4hxTI+srGNeACk1CieXVJkPrEy8LCgDm5hQ3b/gIrddFiGrge4XuKh67axLy0K+R9 mdRtjGZPg7Aca06r9gE0TGBDJGXb3yxgDu/9jDlWi5va/iAtU64Jvbgun8KABHT4XuE6 0k7426NMxdcti9kWp0+EIwp4rRbqAotz6UHnecfOXeRoRRjtwJsA15boC7HVYvLlzzuv 3Y37QtZVea6DZtt0TTjjiv0lD2X0kzFyrrCu7te+sfB/AIjmEJRLsRxBYOcpHmsk8uiW fJjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4D6xYVcx65ci50EYrgxQnh1AMljYTOBoiJu7xzeER1s=; b=pZ+SblUNw5dXxzUEqYhhZy+OPOOxI26Qr8Ba0lwsPVB8Ur4+DXhrxFs1vNdeIEC1sR SvziSHjYesilOqzyV/qeHJt/aetfSGg4fzHejv56DnHB5G+0pZlA9mU54gYolnZon0xD +TbHj/ryDR5F8akM7EOdzhhL2x5H6tlQTGo6vyVY1bwVTw8ETspDSw8V1rlX/4S5o8XK Vc9a0mCYG3hAt/q0of1t57IFBjDwAjxdn5nlYXiSW737VsafvfG+2g3daSWo6xYyAee1 5TPnx8r4rAiY/ZAl8N/ycuAK5Uli9gTxygOOz6uTLXJQpAvJ29EKhRTUsU9V8SjzfShL SiDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=unIx9W0j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j39si16074856plb.319.2019.06.02.09.00.44; Sun, 02 Jun 2019 09:00:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=unIx9W0j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726803AbfFBP7T (ORCPT + 99 others); Sun, 2 Jun 2019 11:59:19 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:41615 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726749AbfFBP7S (ORCPT ); Sun, 2 Jun 2019 11:59:18 -0400 Received: by mail-qt1-f193.google.com with SMTP id s57so6811825qte.8 for ; Sun, 02 Jun 2019 08:59:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4D6xYVcx65ci50EYrgxQnh1AMljYTOBoiJu7xzeER1s=; b=unIx9W0jhTmqnG9YbWNxmFBYkYOu1c+99DsdX5RP0YBV10dmsAlSUWyUWQF/XW2vV3 jfFGdxogecSbQd8quDfv12r8VwBhnX/pH6Ke6XEsellp7vonq3MRgJXKCVi2yVRneRrN rsyInvy4+oH/ch/G28xH8s8rdOmCVheirMaUx056OyphhsC/e5XeXevPeKDnqdWz0lUF BbvWRAcHPTDQAkRR7ZEaoOKskY3iyGLaAjG8sU0jX93kWCbE+GfhvJbnyJrk2Col+1we eeVBl4eQEoOoTgXzmcVZLxJis3AaLcF0iS82WHIjOECoDiNKprBGN3Rd1WnYDrGXAr+H YwvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4D6xYVcx65ci50EYrgxQnh1AMljYTOBoiJu7xzeER1s=; b=ExFhtOdDnklJKd/BcZrK44ntX1Rw9gmo99e7YfsmLXZS9zli7VwLOnFVU1/RjLVTpT zle5m4ODWBHAF19l/wphphCcWU72FG4uxZ3N9jOzBZDDwSSFXLj3R1CTR045ueFzCHoY qU0WnV69jQ0wtuwDoZzz1LNIFDHkiYo4Guc/rOTCHIEzuhfKLeYluplGdMLac4NxW6oY tZ+YLH5IkS11h1gxSAEmpCKAv4f6QkyyiDwprekmsr8wGKWhfdv8/4rxzjrYsbmsGMHp wJNA95xI3gXyqY5qKPMP0P1xk9y1bXOtgU8QFgAcIuXZDtg8+lvY3vhhH+Y6zRlhVIze vK+A== X-Gm-Message-State: APjAAAWbq3lvgwAUuaT2SZ9GMknXfe91i7N74JCDWb7HRUWINqJPb5EH b2IsPYQqKhkm5Ia9TqO9UkA= X-Received: by 2002:ac8:7381:: with SMTP id t1mr19772251qtp.387.1559491157557; Sun, 02 Jun 2019 08:59:17 -0700 (PDT) Received: from arch-01.home (c-73-132-202-198.hsd1.md.comcast.net. [73.132.202.198]) by smtp.gmail.com with ESMTPSA id n7sm7378589qkd.53.2019.06.02.08.59.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Jun 2019 08:59:17 -0700 (PDT) From: Geordan Neukum To: Greg Kroah-Hartman Cc: Jeremy Sowden , Mao Wenan , YueHaibing , Nathan Chancellor , Geordan Neukum , Dan Carpenter , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/5] staging: kpc2000: kpc_spi: column-align switch and subordinate cases Date: Sun, 2 Jun 2019 15:58:34 +0000 Message-Id: <8a940c89d43ca59bb4c70100cf1b33529501ff5b.1559488571.git.gneukum1@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The linux style guide prescribes that switch statements and their subordinate case labels should be column-aligned rather than double-indenting the case label. Make kpc2000_spi.c follow the desired style with respect to switch/case alignment. Signed-off-by: Geordan Neukum --- drivers/staging/kpc2000/kpc2000_spi.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/kpc2000/kpc2000_spi.c b/drivers/staging/kpc2000/kpc2000_spi.c index ef7e062bf52c..13c4651e1fac 100644 --- a/drivers/staging/kpc2000/kpc2000_spi.c +++ b/drivers/staging/kpc2000/kpc2000_spi.c @@ -502,13 +502,13 @@ kp_spi_probe(struct platform_device *pldev) } switch ((drvdata->card_id & 0xFFFF0000) >> 16){ - case PCI_DEVICE_ID_DAKTRONICS_KADOKA_P2KR0: - NEW_SPI_DEVICE_FROM_BOARD_INFO_TABLE(p2kr0_board_info); - break; - default: - dev_err(&pldev->dev, "Unknown hardware, cant know what partition table to use!\n"); - goto free_master; - break; + case PCI_DEVICE_ID_DAKTRONICS_KADOKA_P2KR0: + NEW_SPI_DEVICE_FROM_BOARD_INFO_TABLE(p2kr0_board_info); + break; + default: + dev_err(&pldev->dev, "Unknown hardware, cant know what partition table to use!\n"); + goto free_master; + break; } return status; -- 2.21.0