From patchwork Sun Oct 13 19:10:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghavendra Ganiga X-Patchwork-Id: 283115 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 4E7E92C012D for ; Mon, 14 Oct 2013 06:10:11 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755190Ab3JMTKJ (ORCPT ); Sun, 13 Oct 2013 15:10:09 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:40682 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755189Ab3JMTKJ (ORCPT ); Sun, 13 Oct 2013 15:10:09 -0400 Received: by mail-pa0-f41.google.com with SMTP id bj1so6631746pad.0 for ; Sun, 13 Oct 2013 12:10:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; bh=/1u6q/YsKlBKpy5Js0s1RiP7No1BbXBAL9LoVb6mlII=; b=ChVdP0N75d2J/V3b5EFMDi2XricVFQ1Xa81NwzK39eO9RkqU9U/VJ/ED8HlkY4d/PD +KNrclP/62Lgt1fDEzwN2vzaH/sLDjIwiEXUiTf9EddqaBXz3XZS81BqyAbEtmo/36vP q+LQMeqRSIV08EoAYDq9PBhn+YTFQD//EQDLZMEAEbyp0GZASPlTTGPF0uNiw6lV0FoX 3HvXqW4mWbfDoNN+G7Ck4ImV37cEsF9a5iccI8197TbYOp5XVyHRX28mWWR+aaV0SbrX ZDB/IPyTqZxf6bOOqgAuBte5r0tQB0mWRheKwF6gELG7VsPan1QMpsdquAMQi7xaI+dI poMQ== X-Received: by 10.66.255.104 with SMTP id ap8mr33901111pad.53.1381691408481; Sun, 13 Oct 2013 12:10:08 -0700 (PDT) Received: from [192.168.0.101] ([123.201.144.165]) by mx.google.com with ESMTPSA id ef10sm85969240pac.1.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 13 Oct 2013 12:10:07 -0700 (PDT) Message-ID: <525AF00B.4000403@gmail.com> Date: Mon, 14 Oct 2013 00:40:03 +0530 From: RAGHAVENDRA GANIGA User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: wsa@the-dreams.de CC: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, ravi23ganiga@gmail.com Subject: [PATCH 1/2] i2c: i2c-core: fix paranthesis coding style issue in i2c-core.c Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org From 46aed97f5e5a434e8ec24c14e085a138958ba559 Mon Sep 17 00:00:00 2001 From: Raghavendra Ganiga Date: Sun, 13 Oct 2013 19:13:46 +0530 Subject: [PATCH 1/2] i2c: i2c-core: fix paranthesis coding style issue in i2c-core.c This is a patch to the i2c-core.c file that fixes the paranthesis warning found by the checkpatch.pl tool Signed-off-by: Raghavendra Chandra Ganiga --- drivers/i2c/i2c-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c index 29d3f04..b1197bb 100644 --- a/drivers/i2c/i2c-core.c +++ b/drivers/i2c/i2c-core.c @@ -637,7 +637,7 @@ i2c_new_device(struct i2c_adapter *adap, struct i2c_board_info const *info) struct i2c_client *client; int status; - client = kzalloc(sizeof *client, GFP_KERNEL); + client = kzalloc(sizeof(*client), GFP_KERNEL); if (!client) return NULL;