From patchwork Wed Mar 13 21:01:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Wang X-Patchwork-Id: 10851749 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 14D0713B5 for ; Wed, 13 Mar 2019 21:02:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EF58729FAB for ; Wed, 13 Mar 2019 21:02:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E036A29FC0; Wed, 13 Mar 2019 21:02:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8F63D29FAB for ; Wed, 13 Mar 2019 21:02:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=vToSPlGxd2lDHKhZKCsbFwd91hus07pIQv88M9mXI4Y=; b=Clj1Ur+RbxBf3t c2AYcMCzLwjV3y0cBUnj/P6pmATud7iIRsok/hrQTkHEJo5wgvOAfX+XWFCu2xlwwHiAWL1cp3yIx UAygVqm1II77JKjHsECFWOSpHgCydf39v4Ulj3tZSd1/4UjJ89jFKVmvnbMInSocG3Pm+D9PWKVWN vLIrA53/H6Lg5fKdh5KJbBb3rm0EnzUDHZuzU1nJ9i+V7dbZugT93fbHG3P53GDv9jyySyNYxfqP3 r5BCQNIOL8Mdv6vtu9pHFKqHsBeVhQNJUpB/Egakab14gkkm6umxsTD4BT6z5/AK7xFrEGqyKqDvk 8cbc3zfSOLV+/j+B4Arw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h4B18-00021l-2Z; Wed, 13 Mar 2019 21:02:26 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h4B15-000215-JR for linux-mediatek@lists.infradead.org; Wed, 13 Mar 2019 21:02:25 +0000 X-UUID: 80f32ffd44ff42f288906f484e79afad-20190313 X-UUID: 80f32ffd44ff42f288906f484e79afad-20190313 Received: from mtkcas68.mediatek.inc [(172.29.94.19)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 302791346; Wed, 13 Mar 2019 13:02:17 -0800 Received: from MTKMBS01N1.mediatek.inc (172.21.101.68) by MTKMBS62N1.mediatek.inc (172.29.193.41) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 13 Mar 2019 14:02:16 -0700 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 14 Mar 2019 05:02:02 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 14 Mar 2019 05:02:02 +0800 From: To: , , Subject: [PATCH v1 0/3] add module_sdio_driver and enable a few users Date: Thu, 14 Mar 2019 05:01:57 +0800 Message-ID: X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190313_140223_720655_2DDBAEAA X-CRM114-Status: UNSURE ( 4.83 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-bluetooth@vger.kernel.org, linux-mmc@vger.kernel.org, Sean Wang , linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Sean Wang Add module_sdio_driver exactly like the function module_usb_drivear offers to and enable a few users to eliminate a few lines of boilerplate code per SDIO driver. Sean Wang (3): mmc: sdio: Add helper macro for sdio_driver boilerplate Bluetooth: mediatek: Use module_sdio_driver helper Bluetooth: btsdio: Use module_sdio_driver helper drivers/bluetooth/btmtksdio.c | 15 +-------------- drivers/bluetooth/btsdio.c | 15 +-------------- include/linux/mmc/sdio_func.h | 12 ++++++++++++ 3 files changed, 14 insertions(+), 28 deletions(-) Acked-by: Ulf Hansson