From patchwork Wed Mar 6 14:04:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 159746 Delivered-To: patches@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp6205938jad; Wed, 6 Mar 2019 06:05:01 -0800 (PST) X-Received: by 2002:a19:cbc6:: with SMTP id b189mr4018295lfg.34.1551881101125; Wed, 06 Mar 2019 06:05:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551881101; cv=none; d=google.com; s=arc-20160816; b=LKa6bNmiO5ket+2skGkqUCkMgmMz50OU8QejtgJ856lXhs61D/xOGG5XvkayixB9z6 Ev0IZOAtwTs3Ha5GDBzoxQT6Grjzk3gX+lupECCE+NGROFFDnestnWL5Hn+olBOKhzQ9 jYMknDI6NduJXuCmSPi1iLmAw8LULiuT9vGluq87m0cvqgWzJd2PGzEVPzQq4A5P2sVk tGfaK6CaiDLFgYHPhY3agdUKih/ybYWxMU2qKqt0riDJ9M8317mSXGVqBZmGW5mS49le RJq9xddv9WaBZ6xmgaS5NqiZJWSeyvC1OSXBLuiv7DkP/6BGYnbXEv+sn7BXPm1pNjez y5/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature; bh=D/mpKUZmuDHR1r68ZdURKlmEQZ1wh3KxFv4rpA5qaFk=; b=nzyxVfpsX3VgToM6uRxQ+lWRCVpiQpEArn3nkuSYZxSMI1NRD4OjnOIyXZYUjedCmf mqpdBgWlU0nixXPr9OC/6ybkAxfYfNXcCgZEQq+VeYcmjqSbtJBZuP9zIAgVJl+rPcI7 rmmaY9435bWSJRfvWF9ByK0A7NX+IZ6/uJ9NcYD/4EABzpH/8Yro6/rQcacVnqaAo8Fc PlUWqlKN8WTmXFT2pNG9itd5x3Im3I5KNavVlmWmTiu73ZkUx7OQV4dLwtE49DP6CVUe 2Qdzzr4coSo8huqUppkkHgAOpiCx7Rh0FTdLvdd4UWAYgxLiddZaSgGPB8SejcUD22qA Iu2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v3jWYXhr; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id d3sor1347862ljj.39.2019.03.06.06.05.00 for (Google Transport Security); Wed, 06 Mar 2019 06:05:00 -0800 (PST) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v3jWYXhr; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=D/mpKUZmuDHR1r68ZdURKlmEQZ1wh3KxFv4rpA5qaFk=; b=v3jWYXhrzZkrh2fIvtfqMNsxTZFzFq3o1sDxirp/817zOaWtRl4mv79mjpoCwxYxb7 Czy9Ub0phzta87LZefDcH2LOS119mF9UVhev5wp6tCaiGYdCYfg7OVSDrTd64PyQQnf3 xDxcOCMNFUvsPuynf8HKarYyCfOW+///THGKUCc9VjSqznHYud1MuvwavBe2KSLiKkEt 2UyOf77wMSr6+URB0TU+5MiBuyVbwTujtKMZBHgpMUNYG+azXfiwT5gnPBlqEpgOy/gn DBB4RJPl6Z0bAF1Ib0WR3sgZAC/a6NcJNovkNT7aCML9Q/QOMcyVd2kW8hZD5MGKnc7r MN7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=D/mpKUZmuDHR1r68ZdURKlmEQZ1wh3KxFv4rpA5qaFk=; b=OpH1q15yUJ+0gxTSbmjM8QE/wPEibYg9NkoogEE3sHoKlukNoxP4sLxNroQ2lLEu0m S+BeAKYlGLawyC1CWtr13E26wf1/KebWzoJzN8ZU7M3CaQkHNk1Ac4tKuphlfHgTsRGV WTTNbImFUL+YKu5Ra/GiL8jNIIk39SZjwbfK8fgvSQwwV8atjgnqj90IeS1Lo9ZDBLcQ JCF7uB3GiqXys82dK+tH+9prAEXMA+x351Ras3GRXnOtSTx6W/1LoZ1OxgAcSvDLda5+ 3g28t04HVyLfl6NhCkEa7icLbyJ0/p8KOq05+3iif8YMRLzYK3Fl8hi1zyApnwsEfvKC lEMw== X-Gm-Message-State: APjAAAVxu59wfogHR8seOKKDhOfNa2AkGg9NaH6fe1Pl1vVzmASly9qk XJZa+VHQxzS5psmm49oMW+NcH37C X-Google-Smtp-Source: APXvYqxe903jRuEpR+aJJJEg2VyKsfkREgE8m9k9Lo+vobk0/IOWoWFje5coUrxLsH8Sh/XvgqTiZg== X-Received: by 2002:a2e:2c0d:: with SMTP id s13mr2708717ljs.96.1551881100486; Wed, 06 Mar 2019 06:05:00 -0800 (PST) Return-Path: Received: from localhost.localdomain (h-158-174-22-210.NA.cust.bahnhof.se. [158.174.22.210]) by smtp.gmail.com with ESMTPSA id o12sm343734ljc.37.2019.03.06.06.04.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Mar 2019 06:04:59 -0800 (PST) From: Ulf Hansson To: linux-mmc@vger.kernel.org, Ludovic Barre Cc: Russell King , Linus Walleij , Ulf Hansson Subject: [PATCH 0/6] mmc: mmci: Cleanup some variant related code Date: Wed, 6 Mar 2019 15:04:50 +0100 Message-Id: <20190306140456.28187-1-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.17.1 The introduction of variant specific callbacks were recently introduced. In regards to that, I stumbled over of few things that I think deserves to be cleaned up, hence this series. No intentional functional change! Ulf Hansson (6): mmc: mmci: Don't share un-implemented DMA functions mmc: mmci: Drop unnecessary clear of variant->qcom_dml flag mmc: mmci: Re-work code starting DMA for the qcom variant mmc: mmci: Drop qcom specific header file mmc: mmci: Share sdmmc_variant_init() via the common header file mmc: mmci: Make mmci_variant_init() static drivers/mmc/host/mmci.c | 13 +------------ drivers/mmc/host/mmci.h | 14 ++++++++++++++ drivers/mmc/host/mmci_qcom_dml.c | 11 ++++++++--- drivers/mmc/host/mmci_qcom_dml.h | 30 ------------------------------ 4 files changed, 23 insertions(+), 45 deletions(-) delete mode 100644 drivers/mmc/host/mmci_qcom_dml.h -- 2.17.1 Acked-by: Linus Walleij