Message ID | 1410258591-28248-9-git-send-email-kamlakant.patel@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDTOFAP2XENBBK5NXOQAKGQE6G6EXQQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f70.google.com (mail-yh0-f70.google.com [209.85.213.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 304DE20C93 for <linaro@patches.linaro.org>; Tue, 9 Sep 2014 10:30:03 +0000 (UTC) Received: by mail-yh0-f70.google.com with SMTP id b6sf56145868yha.5 for <linaro@patches.linaro.org>; Tue, 09 Sep 2014 03:30:03 -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=rNDMlxv4EnZEku3fz1DMGE9/9WODJwYvtzZ4UO3yBxo=; b=d8tfW9RkCpfFRRJFjiJTXdx5GygQYsthQxVgAWJ0LMTS7NM9d+cP2GSry/n62mWx+2 xJuZs4SwdJ8NuUR2MYcKjYHTl1fUz5XW+PxQpTH0AK9QVUoMb9LaewJy8AfVov/cJrqw 7vODVoz8Wvo2oknm+i0MLaOd+I+H5gQL0qtaCqfH528nsXixelzRdgzAgO0ljbukHZrV kLV2f1QnBeNXcbs8r3hVQpIrHFNqo4p6pWud6tJ9OBDMNE5N8l1ukQWaaoSZETe0W6Vv /bqkbZHxeEGPh7axHsTiH0m2mO7v3s8GwF49AnwDmw4bwRTAg7EU7DysnaaHua2tNc1J i+Og== X-Gm-Message-State: ALoCoQnT8KDVBh65eXHHeeVyg8UTCp4/f4m1RBng3aWFc1wKXi2XmS3Dx3y/qs6eb+5JQuhA5ZYU X-Received: by 10.236.1.198 with SMTP id 46mr20817531yhd.16.1410258603043; Tue, 09 Sep 2014 03:30:03 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.108.38 with SMTP id i35ls1969933qgf.76.gmail; Tue, 09 Sep 2014 03:30:02 -0700 (PDT) X-Received: by 10.52.1.39 with SMTP id 7mr25108070vdj.17.1410258602897; Tue, 09 Sep 2014 03:30:02 -0700 (PDT) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by mx.google.com with ESMTPS id kl5si5639325vdb.26.2014.09.09.03.30.02 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Sep 2014 03:30:02 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.180 as permitted sender) client-ip=209.85.220.180; Received: by mail-vc0-f180.google.com with SMTP id lf12so16756019vcb.39 for <patchwork-forward@linaro.org>; Tue, 09 Sep 2014 03:30:02 -0700 (PDT) X-Received: by 10.220.95.132 with SMTP id d4mr14612494vcn.33.1410258602831; Tue, 09 Sep 2014 03:30:02 -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 uj3csp262391vcb; Tue, 9 Sep 2014 03:30:02 -0700 (PDT) X-Received: by 10.70.87.134 with SMTP id ay6mr16209358pdb.68.1410258602005; Tue, 09 Sep 2014 03:30:02 -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.30.01 for <patch@linaro.org>; Tue, 09 Sep 2014 03:30:01 -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 S932389AbaIIKaA (ORCPT <rfc822;patch@linaro.org>); Tue, 9 Sep 2014 06:30:00 -0400 Received: from mail-gw2-out.broadcom.com ([216.31.210.63]:36487 "EHLO mail-gw2-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932400AbaIIKaA (ORCPT <rfc822; linux-gpio@vger.kernel.org>); Tue, 9 Sep 2014 06:30:00 -0400 X-IronPort-AV: E=Sophos;i="5.04,491,1406617200"; d="scan'208";a="45107439" Received: from irvexchcas06.broadcom.com (HELO IRVEXCHCAS06.corp.ad.broadcom.com) ([10.9.208.53]) by mail-gw2-out.broadcom.com with ESMTP; 09 Sep 2014 03:46:55 -0700 Received: from IRVEXCHSMTP2.corp.ad.broadcom.com (10.9.207.52) by IRVEXCHCAS06.corp.ad.broadcom.com (10.9.208.53) with Microsoft SMTP Server (TLS) id 14.3.174.1; Tue, 9 Sep 2014 03:29:59 -0700 Received: from mail-irva-13.broadcom.com (10.10.10.20) by IRVEXCHSMTP2.corp.ad.broadcom.com (10.9.207.52) with Microsoft SMTP Server id 14.3.174.1; Tue, 9 Sep 2014 03:29:59 -0700 Received: from linaro.ban.broadcom.com (unknown [10.131.60.135]) by mail-irva-13.broadcom.com (Postfix) with ESMTP id 648A29FA00; Tue, 9 Sep 2014 03:29:58 -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 08/26] gpio: SPEAr: use platform based module init Date: Tue, 9 Sep 2014 15:59:33 +0530 Message-ID: <1410258591-28248-9-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.180 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-spear-spics.c b/drivers/gpio/gpio-spear-spics.c index 353263c..fe27b6d 100644 --- a/drivers/gpio/gpio-spear-spics.c +++ b/drivers/gpio/gpio-spear-spics.c @@ -196,12 +196,7 @@ static struct platform_driver spics_gpio_driver = { .of_match_table = spics_gpio_of_match, }, }; - -static int __init spics_gpio_init(void) -{ - return platform_driver_register(&spics_gpio_driver); -} -subsys_initcall(spics_gpio_init); +module_platform_driver(spics_gpio_driver); MODULE_AUTHOR("Shiraz Hashim <shiraz.linux.kernel@gmail.com>"); MODULE_DESCRIPTION("ST Microlectronics SPEAr SPI Chip Select Abstraction");