From patchwork Mon Feb 17 08:59:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 24734 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f198.google.com (mail-ve0-f198.google.com [209.85.128.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 16FFF202B2 for ; Mon, 17 Feb 2014 09:00:05 +0000 (UTC) Received: by mail-ve0-f198.google.com with SMTP id pa12sf33038664veb.1 for ; Mon, 17 Feb 2014 01:00:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=u4kjRU7jO7JJKllQZLUPUITWuVmSdm1WNOH2sOYrlLY=; b=Ci/DCH5uUCF5ENkoamUlYbIapMMG9vsLQKN6yyzUzU/nJWqrJXJEesIMDqmGkETKnq 8v6r0qnAWdPddlMXYVK0hqYyTL4G2cY7rPnwre9ydIfkkNoVlJFiH1seGUqQ75X0gxnJ Q2IVrDTLS8U7iEPfpAEhDJJ4Ard6h0AqRwGeGvMlirrM4suDH0oPbc/AUbbmLUMqLL6J 2vRXSIwFOwlOUS6sYIDA2b9ievy6it0z9ktw+ClxlLr3kA+6l8Ek8j2OPU5vmI8/+0GV XKNAeUC5PZiNTXyCAAxEi3rTWBWDtKvdD+e22Ja7H3T/gpzMbN47/6czPUVlveEDlADh Xpgw== X-Gm-Message-State: ALoCoQmVzG+mF3smpPdlFLvMF7EhSacRrjfVdq9pfRdKjFI8kP5vp1I2YBonXjMK1U9yMLTYBmD3 X-Received: by 10.52.236.231 with SMTP id ux7mr8551128vdc.7.1392627604286; Mon, 17 Feb 2014 01:00:04 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.51.44 with SMTP id t41ls838942qga.86.gmail; Mon, 17 Feb 2014 01:00:04 -0800 (PST) X-Received: by 10.221.20.199 with SMTP id qp7mr12023294vcb.24.1392627604159; Mon, 17 Feb 2014 01:00:04 -0800 (PST) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx.google.com with ESMTPS id kn3si4336611veb.92.2014.02.17.01.00.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Feb 2014 01:00:04 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.182 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.182; Received: by mail-vc0-f182.google.com with SMTP id id10so11660646vcb.27 for ; Mon, 17 Feb 2014 01:00:04 -0800 (PST) X-Received: by 10.220.188.10 with SMTP id cy10mr480386vcb.36.1392627604083; Mon, 17 Feb 2014 01:00:04 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.174.196 with SMTP id u4csp122049vcz; Mon, 17 Feb 2014 01:00:03 -0800 (PST) X-Received: by 10.66.139.169 with SMTP id qz9mr25562220pab.16.1392627602981; Mon, 17 Feb 2014 01:00:02 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xk2si14050460pab.187.2014.02.17.01.00.02; Mon, 17 Feb 2014 01:00:02 -0800 (PST) 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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752158AbaBQI7b (ORCPT + 27 others); Mon, 17 Feb 2014 03:59:31 -0500 Received: from arroyo.ext.ti.com ([192.94.94.40]:34151 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750982AbaBQI7a (ORCPT ); Mon, 17 Feb 2014 03:59:30 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s1H8xT7m025832; Mon, 17 Feb 2014 02:59:29 -0600 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s1H8xT2B002011; Mon, 17 Feb 2014 02:59:29 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Mon, 17 Feb 2014 02:59:28 -0600 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s1H8xPkp001536; Mon, 17 Feb 2014 02:59:28 -0600 From: Kishon Vijay Abraham I To: , CC: Subject: [PATCH 1/8] usb: phy: twl4030-usb: Silence checkpatch warnings Date: Mon, 17 Feb 2014 14:29:18 +0530 Message-ID: <1392627565-1829-2-git-send-email-kishon@ti.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1392627565-1829-1-git-send-email-kishon@ti.com> References: <1392627565-1829-1-git-send-email-kishon@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: kishon@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.182 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 Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Sachin Kamat Silences the following warnings: WARNING: sizeof *twl should be sizeof(*twl) WARNING: sizeof *otg should be sizeof(*otg) Signed-off-by: Sachin Kamat Signed-off-by: Kishon Vijay Abraham I --- 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 daf65e6..254c72c 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;