Message ID | 1410258591-28248-5-git-send-email-kamlakant.patel@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDTOFAP2XENBBJNNXOQAKGQEGK6LYQA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f72.google.com (mail-qa0-f72.google.com [209.85.216.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 191D020566 for <linaro@patches.linaro.org>; Tue, 9 Sep 2014 10:29:58 +0000 (UTC) Received: by mail-qa0-f72.google.com with SMTP id cm18sf45215270qab.7 for <linaro@patches.linaro.org>; Tue, 09 Sep 2014 03:29:57 -0700 (PDT) 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=dmdqRJpGxXtTneS13nNpkSapR2J6HWXTwreaEuByrao=; b=arKw+bDrLN9DfnUrCXigkvtcR9rcmjyyPauwe3APOfijJuOwQPaJ80JhYl8A5A57f9 cA8uMNj/aTJCn26JhRgoOtdKJCdoyIi6pbFXyt+QogKrOo9Nh2j9xkX8ReNpvha3DlvZ 2WFCpQ35+it7tthyxfXlstWDupJw6uX/KqAAjqdRl+kxepZ1pHT6V2XSeGveZrrr0BC8 nXRr7T/lM/uwKWsCUPZAGEDcuu0avRCds1mGkb+WdAWTvZ8i9rQOGvso5MesRta1u6/y WnX1fkjbFfncl8NEgOzKPqRvYK0lNdwDN5X37N/MupIpEsBRNHLOkVxLENZKxetkpgT3 6Gtg== X-Gm-Message-State: ALoCoQmrYb8RYgWczLW9mV46ry8GTHW3sw0OXfHSVxBenLHdQjTl+mUKV+EdPgmo8s30DilK7kXZ X-Received: by 10.236.19.52 with SMTP id m40mr20903853yhm.35.1410258597874; Tue, 09 Sep 2014 03:29:57 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.47.87 with SMTP id l81ls1249372qga.51.gmail; Tue, 09 Sep 2014 03:29:57 -0700 (PDT) X-Received: by 10.221.6.201 with SMTP id ol9mr29503937vcb.2.1410258597779; Tue, 09 Sep 2014 03:29:57 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id 9si4988079vcq.96.2014.09.09.03.29.57 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Sep 2014 03:29:57 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id id10so16790930vcb.16 for <patchwork-forward@linaro.org>; Tue, 09 Sep 2014 03:29:57 -0700 (PDT) X-Received: by 10.52.239.108 with SMTP id vr12mr12773606vdc.30.1410258597687; Tue, 09 Sep 2014 03:29:57 -0700 (PDT) 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.221.45.67 with SMTP id uj3csp262380vcb; Tue, 9 Sep 2014 03:29:57 -0700 (PDT) X-Received: by 10.68.129.225 with SMTP id nz1mr28446855pbb.107.1410258596870; Tue, 09 Sep 2014 03:29:56 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fk4si22184263pbb.236.2014.09.09.03.29.56 for <patch@linaro.org>; Tue, 09 Sep 2014 03:29:56 -0700 (PDT) Received-SPF: none (google.com: linux-gpio-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932396AbaIIK3z (ORCPT <rfc822;patch@linaro.org>); Tue, 9 Sep 2014 06:29:55 -0400 Received: from mail-gw3-out.broadcom.com ([216.31.210.64]:10155 "EHLO mail-gw3-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932389AbaIIK3x (ORCPT <rfc822; linux-gpio@vger.kernel.org>); Tue, 9 Sep 2014 06:29:53 -0400 X-IronPort-AV: E=Sophos;i="5.04,491,1406617200"; d="scan'208";a="44926695" Received: from irvexchcas08.broadcom.com (HELO IRVEXCHCAS08.corp.ad.broadcom.com) ([10.9.208.57]) by mail-gw3-out.broadcom.com with ESMTP; 09 Sep 2014 03:46:49 -0700 Received: from IRVEXCHSMTP1.corp.ad.broadcom.com (10.9.207.51) by IRVEXCHCAS08.corp.ad.broadcom.com (10.9.208.57) with Microsoft SMTP Server (TLS) id 14.3.174.1; Tue, 9 Sep 2014 03:29:53 -0700 Received: from mail-irva-13.broadcom.com (10.10.10.20) by IRVEXCHSMTP1.corp.ad.broadcom.com (10.9.207.51) with Microsoft SMTP Server id 14.3.174.1; Tue, 9 Sep 2014 03:29:53 -0700 Received: from linaro.ban.broadcom.com (unknown [10.131.60.135]) by mail-irva-13.broadcom.com (Postfix) with ESMTP id 748F09F9F9; Tue, 9 Sep 2014 03:29:51 -0700 (PDT) From: <kamlakant.patel@linaro.org> To: Linus Walleij <linus.walleij@linaro.org>, Alexandre Courbot <gnurou@gmail.com> CC: Kamlakant Patel <kamlakant.patel@linaro.org>, <linux-gpio@vger.kernel.org> Subject: [RTF] [PATCH 04/26] gpio: msm-v1: use platform based module init Date: Tue, 9 Sep 2014 15:59:29 +0530 Message-ID: <1410258591-28248-5-git-send-email-kamlakant.patel@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1410258591-28248-1-git-send-email-kamlakant.patel@linaro.org> References: <1410258591-28248-1-git-send-email-kamlakant.patel@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-gpio@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: kamlakant.patel@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) 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: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> Content-Type: text/plain |
diff --git a/drivers/gpio/gpio-msm-v1.c b/drivers/gpio/gpio-msm-v1.c index 73b7396..bec524e 100644 --- a/drivers/gpio/gpio-msm-v1.c +++ b/drivers/gpio/gpio-msm-v1.c @@ -706,10 +706,6 @@ static struct platform_driver gpio_msm_v1_driver = { .probe = gpio_msm_v1_probe, .id_table = gpio_msm_v1_device_ids, }; +module_platform_driver(gpio_msm_v1_driver); -static int __init gpio_msm_v1_init(void) -{ - return platform_driver_register(&gpio_msm_v1_driver); -} -postcore_initcall(gpio_msm_v1_init); MODULE_LICENSE("GPL v2");