From patchwork Mon Sep 30 12:02:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 279134 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 8E8842C0091 for ; Mon, 30 Sep 2013 22:02:20 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754134Ab3I3MCT (ORCPT ); Mon, 30 Sep 2013 08:02:19 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:39790 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753590Ab3I3MCS (ORCPT ); Mon, 30 Sep 2013 08:02:18 -0400 Received: by mail-pa0-f42.google.com with SMTP id lj1so5793888pab.15 for ; Mon, 30 Sep 2013 05:02:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=6Cqy6yC7AnrDy4RdgT4n/38W+81I0OxHg9hh5zLbJwg=; b=MqtUF1h7HViGSB/kqk8DmmPpqliN40cBot1zjT8z1+3NFiZk6qkQk5IJOzSA25fFPc Is3u8/bITELeMZ1TJGVA8bl7yAMONXTjtHAWaf6AyRn6zCjiUqUSKAJHsf3favJK0CNJ BsDPO59csSRd5h5MNBDkm14pVkophOCWD4R81TVwfEqY+YDiZBblcVfaTMRHJzkTLIw1 DI+uFfS32JVi3n+62x2RKWHGDf5/BjMULojD3FDcvJLcIiM8LcmZIMWkDkYuuPXYtE+b 6oFs2IfFC2esMFvk9bOAyKlJzrJhbLun8/Sz/in+aHxEoaTJQzIXh8Hvv6VWK4YZwyXL tfjw== X-Gm-Message-State: ALoCoQkf5eV71TnXn1fn8j4z1XdSTnnV18+B2MRSiU9p6BRfK47ASHg7PMqzvcOVORi+wt3GGXs+ X-Received: by 10.68.190.103 with SMTP id gp7mr23494779pbc.74.1380542538331; Mon, 30 Sep 2013 05:02:18 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id ct4sm185912pbb.41.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Sep 2013 05:02:17 -0700 (PDT) From: Sachin Kamat To: linux-i2c@vger.kernel.org Cc: wsa@the-dreams.de, sachin.kamat@linaro.org Subject: [PATCH 1/1] i2c: mv64xxx: Remove redundant of_match_ptr Date: Mon, 30 Sep 2013 17:32:06 +0530 Message-Id: <1380542526-2943-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org The data structure of_match_ptr() protects is always compiled in. Hence of_match_ptr() is not needed. Signed-off-by: Sachin Kamat --- drivers/i2c/busses/i2c-mv64xxx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-mv64xxx.c b/drivers/i2c/busses/i2c-mv64xxx.c index 7f3a474..f42d88a 100644 --- a/drivers/i2c/busses/i2c-mv64xxx.c +++ b/drivers/i2c/busses/i2c-mv64xxx.c @@ -909,7 +909,7 @@ static struct platform_driver mv64xxx_i2c_driver = { .driver = { .owner = THIS_MODULE, .name = MV64XXX_I2C_CTLR_NAME, - .of_match_table = of_match_ptr(mv64xxx_i2c_of_match_table), + .of_match_table = mv64xxx_i2c_of_match_table, }, };