Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1737907ybg; Sat, 19 Oct 2019 01:25:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqwzXrlkc5/89NIQBl7H/B+CKCHP/Hii4IaFa4BfbCrFl9xiphGuntyHFY55v9RbVY053n9S X-Received: by 2002:a17:906:2cd2:: with SMTP id r18mr12488384ejr.282.1571473534720; Sat, 19 Oct 2019 01:25:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571473534; cv=none; d=google.com; s=arc-20160816; b=jhMC2tyAt4I5PHpX9httZQ0Bk3CBcBw9M9pLFbpPyfK22nLKPZvCIvoaev/nK3GYvT TVr0LV5Yd+GkdqZ0l1796wehwn9Z28SOWtq/jZYBLct7uQ7jyfSWWQcZel5phrlckqSg 6yB6Dcsd52dw+FqeMn/GOj3jyBfmRKR6PzFhDaNfMdowWQFHBpqAXBYNVaINewCpmOaA 35kCi3POUa5OonSSuz6Vfc4NGmyEzqC+vDj0OCntec/xSMdo+y8CUXWWu22yTfGcaoO4 PDOF04B8IcAZBG/8DbE/p7iFWJyfaOIKONAdRq7h7CVmKvJUfmMNbdb9nUOFB2fSU2Em e8eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=CD+bty2JgPn943TXaARoc4H7hkdb+h7lncGCHmaCcN0=; b=eKPuHoFQMD/Gd1VKXQtzBUAt+PXbkSNP0VtR4BkY4oP+YjiDxDMh0t92t97UgJxap1 Rzm0ciifplu578SofT5tsmdRme5oyWYTvx8jL72wsX8Ry7XBw1k+dFPsRTxTTxZbobRZ M4HRdLDcP9Dr2x0wfiWrDcntUmQ3JMU05+uq3cVAtf5SxkrEcAUg4IW9HIJCkp9rCw5J J9YZwhkPUJviA8BLynf0GrlrV8qr+zLAiXGnEJO913/eY1f8xB8iZHKmxhsTTJfzIRd8 aLKaQR3VGhB9KMf8pCYu2wG14MKkefxsW5axyK8bSglpwkZB0T5B0suv3+TO6C9SZWGi VMKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EaxXB8yx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i16si5722709ede.86.2019.10.19.01.25.12; Sat, 19 Oct 2019 01:25:34 -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; dkim=pass header.i=@linaro.org header.s=google header.b=EaxXB8yx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2410131AbfJRM4N (ORCPT + 99 others); Fri, 18 Oct 2019 08:56:13 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:34821 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727993AbfJRM4N (ORCPT ); Fri, 18 Oct 2019 08:56:13 -0400 Received: by mail-wr1-f65.google.com with SMTP id l10so5747204wrb.2 for ; Fri, 18 Oct 2019 05:56:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=CD+bty2JgPn943TXaARoc4H7hkdb+h7lncGCHmaCcN0=; b=EaxXB8yxpjgjqwE0bD1jv7eEoqqaOonz1N2djpz721OFIF0SOlfI2YHO/fm1KnHC4r E1soMZAW3KI1TxX1d9HBNyCSz/R368Z52LRPE6EQHZdTkLOTfghR6vtw2Waes46H4NQU EWUtsUBLSXS2wgkez92ZoF5W4Amxmyu2a5iZCIpDHeyGtcmfXqHXtyTmfDEKvv0Do/Wb AdypkdXk1CaPdm2bHf91rOLbVNY+s5kVI0C7B+93s0pwpwb04GrhekXCaEFBJlA0uuIb LQlIOFFhfzXzRiV+OQJmj/pVLVG+j7hD1TWykpN6gz0WRFfli4EB1Dk8z6N1S4iJoJF2 VvmA== 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=CD+bty2JgPn943TXaARoc4H7hkdb+h7lncGCHmaCcN0=; b=DSdEEHgxDEdeONvfV21EEcD1SNgIw64dxUTudNHUvQZiOaoNNWG3SU7YBSAliys097 pbvQO4fLqib4GCC1VN+kVLr8yNzPEaHrGy6nNm2RqIGT8NMrEZKpTIlwmKEMDKGij+6m ccKCCucJ9tnqHLBp1Xs7wh6fl5Jp76vX5trR/o0DBbBbPk+Z63UWFR6nPzimRxn/NnGZ NMxnYaMc9DT+uLGySxKkNh6Xl+yAIRR5Ju1kwSKQ9ytnxvnvUVPO8QpCFqckiqZQeHlQ /DSOQ2/kJauK1k8t5DPU/pMOBBov9xGpBBZNZMfm60ztRq7+gQs1clv/og5KVo3TmTDz ffwQ== X-Gm-Message-State: APjAAAUMlCEp325E1sGvyaK67QhxD5GTSpVbECbxyn0kcL277B4YVLSZ AyBbk8Yb9lHILUIPwxW9Q5rciQ== X-Received: by 2002:a5d:488f:: with SMTP id g15mr8279585wrq.9.1571403370810; Fri, 18 Oct 2019 05:56:10 -0700 (PDT) Received: from localhost.localdomain ([95.149.164.47]) by smtp.gmail.com with ESMTPSA id q14sm6058491wre.27.2019.10.18.05.56.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Oct 2019 05:56:10 -0700 (PDT) From: Lee Jones To: broonie@kernel.org, linus.walleij@linaro.org, daniel.thompson@linaro.org, arnd@arndb.de Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, dilinger@queued.net, Lee Jones Subject: [PATCH 0/4] Remove mfd_clone_cell() from the MFD API Date: Fri, 18 Oct 2019 13:56:04 +0100 Message-Id: <20191018125608.5362-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org mfd_clone_cell() only has one user and it quite easy to replicate using the existing MFD registration API in the traditional way. Here we convert the user and remove the superfluous helper. Lee Jones (4): mfd: cs5535-mfd: Use PLATFORM_DEVID_* defines and tidy error message mfd: cs5535-mfd: Remove mfd_cell->id hack mfd: cs5535-mfd: Register clients using their own dedicated MFD cell entries mfd: mfd-core: Remove mfd_clone_cell() drivers/mfd/cs5535-mfd.c | 70 ++++++++++++++++++++++++++-------------- drivers/mfd/mfd-core.c | 33 ------------------- include/linux/mfd/core.h | 18 ----------- 3 files changed, 45 insertions(+), 76 deletions(-) -- 2.17.1