From patchwork Sun Apr 28 20:28:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 320 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 57F333F08F for ; Sun, 28 Apr 2019 22:29:17 +0200 (CEST) Received: by mail-pf1-f197.google.com with SMTP id u78sf6114028pfa.12 for ; Sun, 28 Apr 2019 13:29:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1556483356; cv=pass; d=google.com; s=arc-20160816; b=nPlkMwV/okiTlOLvm/JW/SsbMvH3AsQdb8DBuTX9tM/+jh21MznrQ2YPq8H7EOVzcy J1hDz/8g2Xun8sWhOkn0/AzFY9XsXNLuAZwhdUA9Y2rBp+ubOmEADXvQ1LwNhmbBTOgR VdgV/M5Qp+3/tZV8oU5PxInBLvlZaDq9H9VZ6kgEzsa92M+bIL+DI7TxXG+DmPnJKqUG w5GUQP0C6jvZjhnA7V4fleP9nIxLt6XuZchsBwkn+CDSJFDoxVcA45HSwQvHIXwxjVDc ll5EkcGD8vk20RxneV0dOHkfPz8h2SU+fuvx7xZ+esBYygpO9tncVA/eQfdmQ7eNUpwO j2/w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Gazav4Co760v6etnwlwUaRleeVklRnN2r1Uz/+JPFtQ=; b=rewz4ut3Krn7eozNWT5Tc9OJR5clk45Py3SVlmg8iigqhGSybQ/rh8dpzOshfV5Jhi ghwOvxkw8wiVyrBYKPzuML4RH0GS8zRZnsIyzTJmzOyRTdTCuHVcZdhe5rrJnBw7oQwa BnsXis9t5TtVuqxCtjvG94+3VWg1UFZnboLIuu9Sq7QGtnIUUvPt+pLSJzg/6yiyo5lh QbLbKsWBmUHb62DfRadj3fUFFi5MjFh0wDzUAfYIF/Vnc9AKDeb6MIiRjLQth6W24YI+ ur3gpr8AKKYZ59XGtChsBSuiBM/gRQl9E9F0dK5J1FD9l5N+cu6tJLrgklrx1lEthZpM FdnQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=c2vBzZEh; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=Gazav4Co760v6etnwlwUaRleeVklRnN2r1Uz/+JPFtQ=; b=dQsV1OoOUh4LdDzpCtPWip1HGsHm1KqKiRBbfoJ0BK3IaOSZU2IqOVq6cnrlBqBKNE IG8m2OGIKqwNjToT0D700utvaVgz6N6wFBMvJZM6I4yCZRxOGwdPBnK1BSey9fQS2S7l U1ufQ+k1/bmnrVJEMVMldzTIr20A5fN0xhS1E= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=Gazav4Co760v6etnwlwUaRleeVklRnN2r1Uz/+JPFtQ=; b=i1aOoG0ICOK4UelOEFYI85H9VQMhKmOC1Dr2CC9OjjtJ17m7+wFksN9L6RxCz1sRT/ Wm2bYnLx4DhtJNzaxzWAzMCUTfw3Vg2s6Y/II4yBL7IjWLcCbINpfpYEc8bsCMpasDqt 1u5oELUt3EvLZcjp7057JW62cy4vrN+4GgrmeJqv18jGKmRoAVL+48hvQ452RRCdwoe5 iFIp2/rwOUjowr4XNf75n1lr8pawEPBzxGM8/kujyLKsaa31NBH2iNBq1Elq+grCQXRT yr5PqNbR0CbehT0YxwlSditCj8Os0rLZarfMfN/7Qs3YWKsdmjm+Gh2pkKHwVcuz6aaq QSsQ== X-Gm-Message-State: APjAAAW9PZw/jXb2CsrW99IYkl4mQfRPlzB9YMPEijKq4N4IyC50ScBR hSGFV3dWfl1mThMR0DQr6PEdqLQ3 X-Google-Smtp-Source: APXvYqwpfDv3Yh5RcmCTV2K3wN1CCsX6amHOn+PI9Igdd7rESZ8bFDs+bjhXCkQDheelEzFjSmLLLg== X-Received: by 2002:a17:902:e58e:: with SMTP id cl14mr17358330plb.85.1556483356180; Sun, 28 Apr 2019 13:29:16 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:4104:: with SMTP id o4ls145102pfa.4.gmail; Sun, 28 Apr 2019 13:29:15 -0700 (PDT) X-Received: by 2002:a63:8f4b:: with SMTP id r11mr55574956pgn.271.1556483355811; Sun, 28 Apr 2019 13:29:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556483355; cv=none; d=google.com; s=arc-20160816; b=KNSCzhJOg0NlXkK5s5iqjXw+FAIX5rSZKj9F97w6gu2MJWK92mQUxoFJoWUwQF4CI1 RkjXtNnfZWHGCEdjC1e2xqEpg32uxm0HWh+LCm0GJEnKrpFAQVapCJYBtXveHXiMMVvu 1K+EXr8+t2CcElmkVRCZ8MGGIBRQ1rRAvovb9wNEgOSYq2wfWHeWgJkpuCPoATvEVcwy Q9VkhKM94o3I5mImtMoPMyqtgtgGrwpmPzKtYf08MHalktSN0Q5+139DK+7zErltQRm2 awHT2GYWoSbcUnGC0xGKSi/Vu3kGdrdxFhV3/q95RKnOLptgYT0e4mfVG9ap0rVVXEl8 gASw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=3htuolda1tctbiIjFrQItpUVWObxyyaNpBTNv3Hd9MU=; b=qzwXd5wIUuKtjDIfVM2JeJY0NPXBKYAgsPc0TVIgNCpiBI+upbWW4eUtsJ8J8YUAyu Ii9a6oIYAa61K/O8wuLF6/Qjc2KS7w4uNLyctf9TxYbMTBgXTMZ8RcqEdQEoVmBoHy8k m9F5yEkkWXuJicTQcXp5OGlfbnJFpxvpMpLgTlJ8ht/tImTRqoG25mYLLln9V2IO+VfM TaCUcF0qFxAwmr2vEOb45zBNt8I3Fxod4nQULqB9swn+FpfiiMaYYDmqspo4tmEWFd4F U0sfCvNwgnGvwgfLLucCrl0PKYvGrjxEvrQ9/LkGOxLDOoMQ1PUDcb9oncDuZxzng0L2 9Kcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=c2vBzZEh; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id w12sor6707232pgr.60.2019.04.28.13.29.15 for (Google Transport Security); Sun, 28 Apr 2019 13:29:15 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a63:6cc4:: with SMTP id h187mr42590160pgc.437.1556483355519; Sun, 28 Apr 2019 13:29:15 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id x66sm68841439pfb.78.2019.04.28.13.29.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Apr 2019 13:29:14 -0700 (PDT) From: Jagan Teki To: Heiko Schocher , Tom Rini Cc: u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Mario Six Subject: [PATCH v2 04/19] spi: mpc8xxx: Fix space after cast Date: Mon, 29 Apr 2019 01:58:39 +0530 Message-Id: <20190428202854.8590-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190428202854.8590-1-jagan@amarulasolutions.com> References: <20190428202854.8590-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=c2vBzZEh; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Mario Six Fix all "superfluous space after case" style errors. Signed-off-by: Mario Six --- drivers/spi/mpc8xxx_spi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/spi/mpc8xxx_spi.c b/drivers/spi/mpc8xxx_spi.c index 0393765b6f..1424e7febe 100644 --- a/drivers/spi/mpc8xxx_spi.c +++ b/drivers/spi/mpc8xxx_spi.c @@ -82,7 +82,7 @@ int spi_xfer(struct spi_slave *slave, uint bitlen, const void *dout, void *din, uchar char_size = 32; debug("spi_xfer: slave %u:%u dout %08X din %08X bitlen %u\n", - slave->bus, slave->cs, *(uint *) dout, *(uint *) din, bitlen); + slave->bus, slave->cs, *(uint *)dout, *(uint *)din, bitlen); if (flags & SPI_XFER_BEGIN) spi_cs_activate(slave); @@ -96,7 +96,7 @@ int spi_xfer(struct spi_slave *slave, uint bitlen, const void *dout, void *din, char_size = (bitlen >= 32 ? 32 : bitlen); /* Shift data so it's msb-justified */ - tmpdout = *(u32 *) dout >> (32 - char_size); + tmpdout = *(u32 *)dout >> (32 - char_size); /* The LEN field of the SPMODE register is set as follows: * @@ -141,7 +141,7 @@ int spi_xfer(struct spi_slave *slave, uint bitlen, const void *dout, void *din, spi->event |= SPI_EV_NE; is_read = 1; - *(u32 *) din = (tmpdin << (32 - char_size)); + *(u32 *)din = (tmpdin << (32 - char_size)); if (char_size == 32) { /* Advance output buffer by 32 bits */ din += 4;