From patchwork Sat Sep 23 20:56:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harinath Nampally X-Patchwork-Id: 9967641 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 761FE60384 for ; Sat, 23 Sep 2017 20:57:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 67A3C28AD4 for ; Sat, 23 Sep 2017 20:57:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 59B4A29084; Sat, 23 Sep 2017 20:57:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 146B628AD4 for ; Sat, 23 Sep 2017 20:57:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751671AbdIWU4u (ORCPT ); Sat, 23 Sep 2017 16:56:50 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:36960 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750839AbdIWU4j (ORCPT ); Sat, 23 Sep 2017 16:56:39 -0400 Received: by mail-oi0-f66.google.com with SMTP id h9so1492104oia.4; Sat, 23 Sep 2017 13:56:39 -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; bh=xkPYqpjY6rrm61ZWVMI3TMNfYTHOR5eJAf3wIhE8Mc0=; b=FWFHmgcY4pAPzm+qC5rZQnhJownQG6EDmLPR8fUaGpbY+IaZ9dtkDQ1Zxoz2Ar4Jlc IRuZ/+YXKFykEhsbMJ89DovOsGOnnOYln1S5zO3aQ5S1AOBuIwnSKODh304YhNVVuupo pWU5nJw/wnmc5w+ylM4FvK4wQA9TFbZRz7bMBKjcnVPgbw40COmsDYPJrDtr1n6kysW/ qp6BsJwmLENWY2mMpC3LrXixBLSpy9m97XNcmgaSHa6cettzaXvfvPJOXF0ZEebmGpJY xrfR/TVg7KXxfHQHeSWOZ5G8hfRwU/nAW6NfiTQ0FoauGP/g+njcwLZACdKexBSG2avd S0Uw== 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; bh=xkPYqpjY6rrm61ZWVMI3TMNfYTHOR5eJAf3wIhE8Mc0=; b=mcK1mNsxXB4MW4WqRMshkD2ivRKcY1ZRs1TP8L5mI7zgMHHfPVQ9/eHgAQRUMkEPhs wms5SXAeuyG5MKvtSw/UPIx67OsuQVqvhI4t0qJVT43xmKrZ5AOepycf2tUFu4KiMyGk ttL91Kbry3vmvT4mwJHCcSOxnHhoypwmsXRhqGitOHJi/ual4+lskCXEw98GpNwn2bli 5ckxO+gTIU0PbUWqblSbCDMwlZeO7iyQSNjL8xe+XgQFdJip8yhaicQZNISEGaU0LAmz Y9uz0kuTqOLqr34YyM1gRpavWQ1Clpjtw8HXOfE/GxaYWZB1/nkKbfbQs6neD/dEb85f yquQ== X-Gm-Message-State: AHPjjUh1ypRfLBSsCjI7vM7Ld3F7gyZJcIBc1qQVkZOs8divYDOXJuFT r02GVyF3B2K2qlSWhJqFlRY= X-Google-Smtp-Source: AOwi7QDTZhzOgrSaP+qz16lEBtTqEBNbstcn+IsRRV3oAGjjKMcG4kmv7Irg+AYZB88gLmX2nlw+eQ== X-Received: by 10.202.49.69 with SMTP id x66mr3351846oix.115.1506200198621; Sat, 23 Sep 2017 13:56:38 -0700 (PDT) Received: from hary-Aspire-X3400G.Belkin ([97.70.80.173]) by smtp.googlemail.com with ESMTPSA id o206sm2966198oif.26.2017.09.23.13.56.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 23 Sep 2017 13:56:37 -0700 (PDT) From: Harinath Nampally To: jic23@kernel.org Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, gregkh@linuxfoundation.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, amsfield22@gmail.com, martink@posteo.de Subject: [PATCH 2/2] iio: accel: mma8452: Fix code style warning for unsigned int declarations Date: Sat, 23 Sep 2017 16:56:30 -0400 Message-Id: <1506200190-11115-3-git-send-email-harinath922@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1506200190-11115-1-git-send-email-harinath922@gmail.com> References: <1506200190-11115-1-git-send-email-harinath922@gmail.com> Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Replace 'unsigned' with 'unsigned int' to improve code readability. Issue found by checkpatch. Signed-off-by: Harinath Nampally --- drivers/iio/accel/mma8452.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/accel/mma8452.c b/drivers/iio/accel/mma8452.c index 4a33a26..6194169 100644 --- a/drivers/iio/accel/mma8452.c +++ b/drivers/iio/accel/mma8452.c @@ -1088,8 +1088,8 @@ static irqreturn_t mma8452_trigger_handler(int irq, void *p) } static int mma8452_reg_access_dbg(struct iio_dev *indio_dev, - unsigned reg, unsigned writeval, - unsigned *readval) + unsigned int reg, unsigned int writeval, + unsigned int *readval) { int ret; struct mma8452_data *data = iio_priv(indio_dev);