From patchwork Mon Feb 3 08:25:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 24032 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f70.google.com (mail-oa0-f70.google.com [209.85.219.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id F0CC020675 for ; Mon, 3 Feb 2014 08:30:00 +0000 (UTC) Received: by mail-oa0-f70.google.com with SMTP id m1sf29785274oag.9 for ; Mon, 03 Feb 2014 00:30:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=WUVTYjcXhwsMr9c2uU1nVQfjLNrmwy84ZPwnNWRdUxU=; b=H0Orf4qoYtKhyYuFEPhKV0UkuMUQdXAF52HJZmu22rOoCwlOektD9eJoadUzDEeSYC jGwrZMEHkBcBdhORgn3F0znbkKyjpAJCzz92snD+bvswyEVeUvW9CvmD/rAndboKgLO5 jEM1q/rMRuhHGhbVy4XvptKrrnFluTQN0tkkJXadCnaAZl7Rr8d01N5i1djEyYUffHMq anRztTl5b6g2SYG2U4f0pblOV6AhvBRubt10OhGI2ad3hWp+msKCAp3tHiYdQiO+tO8s MItpMmm/dP7FI2yosQOSRtzhb3yrd9dPt+2L4DSttPNwv1eX8VmE2hUIvXdpe8ukmDB7 GwEQ== X-Gm-Message-State: ALoCoQn8ln5AqorJF4FY7ds3PPjRUrS/lqQ2y6RZQjjynMaktfSlF+V/5EehKcKKQtNubHCmjnLV X-Received: by 10.43.100.129 with SMTP id cw1mr1483324icc.30.1391416200075; Mon, 03 Feb 2014 00:30:00 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.39.134 with SMTP id v6ls1698827qgv.36.gmail; Mon, 03 Feb 2014 00:30:00 -0800 (PST) X-Received: by 10.220.48.194 with SMTP id s2mr26255vcf.43.1391416199976; Mon, 03 Feb 2014 00:29:59 -0800 (PST) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id eb8si6623951vdb.60.2014.02.03.00.29.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Feb 2014 00:29:59 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id le5so4624733vcb.30 for ; Mon, 03 Feb 2014 00:29:59 -0800 (PST) X-Received: by 10.52.38.33 with SMTP id d1mr23005634vdk.4.1391416199907; Mon, 03 Feb 2014 00:29:59 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp140493vcz; Mon, 3 Feb 2014 00:29:59 -0800 (PST) X-Received: by 10.68.24.193 with SMTP id w1mr36122318pbf.78.1391416199042; Mon, 03 Feb 2014 00:29:59 -0800 (PST) Received: from mail-pa0-f46.google.com (mail-pa0-f46.google.com [209.85.220.46]) by mx.google.com with ESMTPS id sz7si19649375pab.261.2014.02.03.00.29.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Feb 2014 00:29:59 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.46 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.46; Received: by mail-pa0-f46.google.com with SMTP id rd3so6741410pab.5 for ; Mon, 03 Feb 2014 00:29:58 -0800 (PST) X-Received: by 10.69.31.97 with SMTP id kl1mr11263530pbd.62.1391416198660; Mon, 03 Feb 2014 00:29:58 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id z10sm139078919pas.6.2014.02.03.00.29.56 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Feb 2014 00:29:58 -0800 (PST) From: Sachin Kamat To: linux-kernel@vger.kernel.org Cc: kishon@ti.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 1/3] usb: phy: twl4030-usb: Silence checkpatch warnings Date: Mon, 3 Feb 2014 13:55:03 +0530 Message-Id: <1391415905-15341-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Silences the following warnings: WARNING: sizeof *twl should be sizeof(*twl) WARNING: sizeof *otg should be sizeof(*otg) Signed-off-by: Sachin Kamat --- drivers/phy/phy-twl4030-usb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/phy/phy-twl4030-usb.c b/drivers/phy/phy-twl4030-usb.c index daf65e68aaab..254c72c94370 100644 --- a/drivers/phy/phy-twl4030-usb.c +++ b/drivers/phy/phy-twl4030-usb.c @@ -661,7 +661,7 @@ static int twl4030_usb_probe(struct platform_device *pdev) struct phy_provider *phy_provider; struct phy_init_data *init_data = NULL; - twl = devm_kzalloc(&pdev->dev, sizeof *twl, GFP_KERNEL); + twl = devm_kzalloc(&pdev->dev, sizeof(*twl), GFP_KERNEL); if (!twl) return -ENOMEM; @@ -676,7 +676,7 @@ static int twl4030_usb_probe(struct platform_device *pdev) return -EINVAL; } - otg = devm_kzalloc(&pdev->dev, sizeof *otg, GFP_KERNEL); + otg = devm_kzalloc(&pdev->dev, sizeof(*otg), GFP_KERNEL); if (!otg) return -ENOMEM;