From patchwork Mon Apr 16 12:56:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 133459 Delivered-To: patch@linaro.org Received: by 10.46.84.18 with SMTP id i18csp3536385ljb; Mon, 16 Apr 2018 05:57:05 -0700 (PDT) X-Google-Smtp-Source: AIpwx49XqgIbu3UoVxJlbOUx9FPiYFBWza1SEvLOB5ZXnh9/ROfZI4va/2U9kNi992vow8b9oV5W X-Received: by 10.101.99.90 with SMTP id p26mr2628301pgv.188.1523883425106; Mon, 16 Apr 2018 05:57:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523883425; cv=none; d=google.com; s=arc-20160816; b=kTFMli1QRNHjweykLZtoOGBgBG3Y48CFQ1PPj8oSgSoVbUP6wHU9OBdDdGyrH9NGXb esyRhlB2WILsHrEWQXAv9JLzw6A/lwdWnHiILTn2DcdIQmlb5ZqqhEGQZfMfrECP25qm TeoMfFaZzFz6gf9F2IgQ2lfN0SfTWF3lukPe87Kk3kNAj312H5hzS6Z5Wj/Mie9K5E9c OOYRuVeuiHr0gHoT42KnpRblGs5NUGEP+ZkvNaCiq6WTc5waXtLdJO/1TnPaYf41GkMn UMbwYTwNIYk/Mvzuq5l43yAhuY/Wug/j5ByK7DRWLRB2AQkLtBUT1NElc0nFZuWNkrsf ld1w== 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:arc-authentication-results; bh=PJCyAUYG5ghYfVW87UQHkQqSbsaiTr8a9gNFr2MMt/I=; b=ItFfOG7ZkxXp1s0dx1Q9aBIYbzn0jhOhc6ApBnzvUfBRJjxVvH70bKUi2hHnu7olNg HVHUI9SSg2FF2iMcEi6Gf9rDwn03tLJEvidPrhO+hdjFZtOJV2MGUPP7eHvjB6baLbRi nLh4XPL9IfTXw6J2qfo6uQcijEPhwbSknXNvZO1UbtyzbzAiKLuVfUHKORn5/GWgCuNC L0KFc0WMnh5zc1XLPqYEQRH13u21oHiedRBsU5mNJ7OX1KswBZVi/KEmIuFyCcViPEUr kgaravmR3Fo+IMEj3o7LkjS+vK6xme2sK6J/cue+tvpmYI49uGzXzTCWwltavrZJ0hZY jBZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ol2sSnsX; 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 b4si9471195pgu.79.2018.04.16.05.57.04; Mon, 16 Apr 2018 05:57:05 -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=Ol2sSnsX; 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 S1754658AbeDPM5C (ORCPT + 29 others); Mon, 16 Apr 2018 08:57:02 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:33750 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752578AbeDPM5A (ORCPT ); Mon, 16 Apr 2018 08:57:00 -0400 Received: by mail-wr0-f196.google.com with SMTP id z73so25732898wrb.0 for ; Mon, 16 Apr 2018 05:57:00 -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=PJCyAUYG5ghYfVW87UQHkQqSbsaiTr8a9gNFr2MMt/I=; b=Ol2sSnsXIyliQg9FJCufCL1Pa+2c/rQZ7ghTHQyLwn/PBEBhuSy3SiFjRlUnoIq/Xo GvIPUYPbAtv9HZKbC2z6B4PIMdIzBcu1ZRAuvssdy7Wt7lGw3QO1Gm4W/VSXi2WI2p49 AvfnMZa9gRzibOETfy+FRbDLC7OB4HvET4LIs= 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=PJCyAUYG5ghYfVW87UQHkQqSbsaiTr8a9gNFr2MMt/I=; b=Ybesvv6jzZKw8m04DpjexsJMNFE//WZFyswTtFp9G8f/lEaxRAKIu/t+E2VgwxywkS KCZ9XMUKxR1rquJf8LwaGH4z4VgRMYAIueLul7yjJuRvvLacamq7l/b1+fDvTR3rxCmL JltpSjSKhI8hcaUbz5qMKcIx0GUFP9KKHP1UeeFaJQSdODvJrkE0xqfAaO1fEB33ukJx VHmNw3UAH0rp7ILreKPSr9dayXKVf0z3sLQn4wa/zoKqH8wHLoBEKhSMvmeMYiRavg04 sA0toNBoConlxGjDT1S/oYfGKZhIQkdR2JsrE4/XbVK/uI7Cs4bKZfR7V/9FCdPDtp3Q sv1A== X-Gm-Message-State: ALQs6tCWxs/drZObgXNeg+euScw1ipbioZaGofKqIOhJBn59ZsO/JDRi n3c/hax2aUDraldFp28YZlhp+8HD7nQ= X-Received: by 10.28.235.25 with SMTP id j25mr10653661wmh.131.1523883419624; Mon, 16 Apr 2018 05:56:59 -0700 (PDT) Received: from localhost.localdomain ([2.27.167.70]) by smtp.gmail.com with ESMTPSA id m35sm15615174wrm.59.2018.04.16.05.56.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Apr 2018 05:56:58 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org, ldewangan@nvidia.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Lee Jones Subject: [PATCH v2 0/3] mfd: Provide MACRO to declare commonly defined MFD cell attributes Date: Mon, 16 Apr 2018 13:56:24 +0100 Message-Id: <20180416125627.22156-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.14.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Not a lot to it really. The idea is to save lines. Lee Jones (3): mfd: Provide MACRO to declare commonly defined MFD cell attributes mfd: ab8500: Example using new OF_MFD_CELL MACRO mfd: db8500-prcmu: Example using new OF_MFD_CELL/MFD_CELL_BASIC MACROs drivers/mfd/ab8500-core.c | 138 ++++++++++++++------------------------------- drivers/mfd/db8500-prcmu.c | 24 +++----- include/linux/mfd/core.h | 29 ++++++++++ 3 files changed, 78 insertions(+), 113 deletions(-) -- 2.14.1