Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp3294716imc; Wed, 13 Mar 2019 14:03:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqw/2/yySpUqv9hKMBDJZjG5ODXmRSogbNrvJiHvlZaX1/GK2r0G2i0VaRVxyaHhvn4rC99W X-Received: by 2002:a17:902:7592:: with SMTP id j18mr21669693pll.300.1552510982701; Wed, 13 Mar 2019 14:03:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552510982; cv=none; d=google.com; s=arc-20160816; b=YUFdFVrCRWjf4zn7JPi1KsM93DSOpLzoWSzrO53Re6UXUszGIfzZW5f8EjX1lAbXIf QGC8h3QT9w8dX5gy7EGWBStPIlvzyBiTvwV2NiWWNJUWFbmWrfmU+AM+gI2nxuq+hxMd 0FDOWJ6gdXhc4BmKzBi0OEXu7q0pvQ1JPN/MC7fPjASYOiMy+za2e068lI6gW1RIvn02 tfRrbhsLdz/bzcY+dg2J1sdsLw4OZw2TriKeDjfbkUzXh3kX0BX5uWuCehS8AO9RnCm4 KVkl+IRCHh2dpBqkKZGwA4ddey6EB/7iyL86y48pl6X0YhxEOR9FXmKcBbMEi2jHi3Rx 7fUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=KxH/+czwQjESB3+PiaALQxBs970FbVl9GfIhY6FaM6k=; b=hcslBs61Enf3WMhMwKhO7cdcBqGIs14Zn3bHY7FQXzhXjBI66NUNwm+N5qF049LOqR G8iH4klYwCkLE3R5MAhSKAng6O4Ge6NqP3j5vcRoJ8/B1L5DiC6QnSqjkb3t8XWff9SF B/bFGEmUapKfIWKruKBr35AhLA+IV/g96/aNTybmG9vCt4Wp6fs/czFzOcOB5eUdYKL6 GxjtG+qLG6euxHmayQVdwmM5ZTiA4pKUFtUg/ggciq8Zo+Bk1z2JE1NKfVlxvgwvEl0W HDq/f6szXEX6mQ51pnnOVPeJRqGPjvnQMoGMjpvq4OxKsxvwb6lwHAGKmveX9/muQmiY 8xfA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j64si10630703pgd.126.2019.03.13.14.02.46; Wed, 13 Mar 2019 14:03:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727431AbfCMVCK (ORCPT + 99 others); Wed, 13 Mar 2019 17:02:10 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:62745 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726551AbfCMVCK (ORCPT ); Wed, 13 Mar 2019 17:02:10 -0400 X-UUID: a55305be4d78409083b06c7e38580593-20190314 X-UUID: a55305be4d78409083b06c7e38580593-20190314 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 956810082; Thu, 14 Mar 2019 05:02:04 +0800 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: , , CC: , , , , Sean Wang 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 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.18.0