From patchwork Mon Oct 14 15:21:38 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghavendra Ganiga X-Patchwork-Id: 283274 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 D0B782C0345 for ; Tue, 15 Oct 2013 02:21:45 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755646Ab3JNPVo (ORCPT ); Mon, 14 Oct 2013 11:21:44 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:57593 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754052Ab3JNPVn (ORCPT ); Mon, 14 Oct 2013 11:21:43 -0400 Received: by mail-pa0-f44.google.com with SMTP id lf10so7663400pab.17 for ; Mon, 14 Oct 2013 08:21:43 -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=W6sQEEKGAB4KWZQQOafgIm0hgGJn2hlKeMFfgmOxqvY=; b=oOajelHW3i5CygumbuS5S3/D0OAoLQnFaf87XkH3oYpIRr/FUdcUngTnlt6iLXQkO6 /pg9kJfitFlVpxejrUyaDp3fR0SpguTPAMW+M/powNmdROIan3ta/o4K+O3rOzrVpeJQ JCuxwKQR7XGTiyDYYHMJKSGHK41fRlkpgjZlhkOoU/cOu4JM+4M/X+v2tsKj3CrSxdnI LI0UGhwUQ2OSrxYafzz0h4bdbGEjpx8SNBkK1RLOrev94ShK1hIfqoRa4iOkNPDjzM7L rYvMg7IwQGLHim8Vnwr2N4LkoG0T0lPPt06I/RWw9G15j7Nk91N9nDHEufhCZC/nNzXW 79Kg== X-Received: by 10.68.92.130 with SMTP id cm2mr2402762pbb.174.1381764103557; Mon, 14 Oct 2013 08:21:43 -0700 (PDT) Received: from [192.168.0.100] ([123.201.144.19]) by mx.google.com with ESMTPSA id ve9sm78633173pbc.19.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 14 Oct 2013 08:21:42 -0700 (PDT) Message-ID: <525C0C02.7030404@gmail.com> Date: Mon, 14 Oct 2013 20:51:38 +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/3] 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/3] 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;