Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp568046imm; Tue, 5 Jun 2018 00:22:18 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIAO0nsHyvMKHhYV3M/hFvHWc8CGJUmg8hjvZg88nUlLbd1vZ/Pu96Wm2nkVmZKKgevTHnh X-Received: by 2002:a62:e401:: with SMTP id r1-v6mr4161064pfh.172.1528183338342; Tue, 05 Jun 2018 00:22:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528183338; cv=none; d=google.com; s=arc-20160816; b=Ea3C4tE37pP2Ke92sfy+XnP1byT1MKcbCuinUtL4ugizHPpPOYgLVk4Tzofx41oCvI /BH5IPxrbRdt6HcPqxblJbFhb4jUhFFYlg1lo60uUfrj+ylijsVp2y4vQSHf+0IsGzq4 L72HcynoMKfntewJi+gJNG48xzYAjF0ora9p7XqZ1ZNHAZAr0VJmIhFUYqfUbr7b8ukc gWnfc+QdBV5hKCAUnplD2kDEIU7qZepqCG/w+s/8LRv7n9FdszUo6scb33gk70nTlLYf twz1/puDVqDEECyqXw+XMU7vntTCvXLp/ChxvHm+CxVY4cM+j1vaj36GCO7PEisyooDM ETGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=KdN7CU2e+HOBCf1oNiFSsR7ACFdvsPRs2Il1VZ63/ys=; b=waUzeXzYaXsECckdukyF2+haqYJ3iACYthVFhryYdXlPsf6/d0uFHPDOt7Fm6sMr4r y0dYWtsDR3ady8d/NRzutHy7sq9pznd//xMWvfOFv+4zDxHIgBk+nUCWxlZVY4+Zx2z/ GKm1pM1rBLwehPHDloO+DXIfK1Gjg/2EjtJ6ILKEDGPyzyz9okRhbzB9+AdcYC7YrYZq ACFGu0PVbOZbpW/JvZCGQZEGPIo+Mq64X3ugVyxzVNNsveDNcG2lrtpVbgdw6/zM1dow h/5sveWn2GML4QYp8b0Fyz5q5kU7IUtVn/58R+pEg5vhqYpNh1MrdodX027EzOEDh3s4 Q7rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WwmILRnF; 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 q14-v6si14377724pli.419.2018.06.05.00.22.04; Tue, 05 Jun 2018 00:22:18 -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=WwmILRnF; 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 S1751717AbeFEHVm (ORCPT + 99 others); Tue, 5 Jun 2018 03:21:42 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:36846 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751465AbeFEHVk (ORCPT ); Tue, 5 Jun 2018 03:21:40 -0400 Received: by mail-wm0-f67.google.com with SMTP id v131-v6so2960017wma.1 for ; Tue, 05 Jun 2018 00:21:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=KdN7CU2e+HOBCf1oNiFSsR7ACFdvsPRs2Il1VZ63/ys=; b=WwmILRnF+iy/E/at6Ucq2aOeHMuB9/xtuYYWKt8eQnSnhtzbii+h+c/gL1R/WEJh+3 MAzQK8Lz2R4CXBGG7QyRZpSWhtTJBp+dtxoxmR8WoejJYEZ13KimwhRF1KbYP6yZCTuf YWgkJMPZKdX4MVTUMd2kZmafPVIfeQ4QUHpjM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=KdN7CU2e+HOBCf1oNiFSsR7ACFdvsPRs2Il1VZ63/ys=; b=UPwrJ8684U53+gMT67LRMQTKttFYKne+GoQ5jPOO170uzvHd5I8w9hZhJT03FIAZIa dhiCu38U+UGuFmMXMCzoShHKl9BdBOtzk3mQHyjqCw0HhGL/qqD2Fz5u1U2in7E18Cod SReeybzCBEk4r+LJ9TkfyJm8hYmvTxVKwqUgnGpWktv+qurWvAUDlneKtcbmX5Kv8z36 W+ddLsw0R1hfkI3HTATFsm3mdH7mwVGTx3TkO+012LYLoBG5huqzjtMeZ+ATT1Tx/Tke O4utgeD9VgJcFcuqg6VNsBk6vPu3yZH7qth3d9qFDyllYVd2WRubWQ39uqmD9YIzFPzx az7w== X-Gm-Message-State: APt69E36jGI3x/IARVaPXAp+6KE/tiEopRCUsdwTjbcPedWyHKpEkqxm 6UnpVxR5Wsgpp5SnjtLVkLxt3g== X-Received: by 2002:a1c:908b:: with SMTP id s133-v6mr11740275wmd.35.1528183299704; Tue, 05 Jun 2018 00:21:39 -0700 (PDT) Received: from dell ([2.31.167.232]) by smtp.gmail.com with ESMTPSA id 136-v6sm1305581wmo.12.2018.06.05.00.21.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 05 Jun 2018 00:21:38 -0700 (PDT) Date: Tue, 5 Jun 2018 08:21:37 +0100 From: Lee Jones To: Marek Vasut Cc: linux-kernel@vger.kernel.org, Marek Vasut , Geert Uytterhoeven , Mark Brown , Steve Twiss , Wolfram Sang , linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH v3 04/10] mfd: da9063: Replace model with type Message-ID: <20180605072137.GJ21163@dell> References: <20180602101155.26375-1-marek.vasut+renesas@gmail.com> <20180602101155.26375-4-marek.vasut+renesas@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180602101155.26375-4-marek.vasut+renesas@gmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 02 Jun 2018, Marek Vasut wrote: > The model number stored in the struct da9063 is the same for all > variants of the da9063 since it is the chip ID, which is always > the same. Replace that with a separate identifier instead, which > allows us to discern the DA9063 variants by setting the type > based on either DT match or otherwise. > > Signed-off-by: Marek Vasut > Cc: Geert Uytterhoeven > Cc: Lee Jones > Cc: Mark Brown > Cc: Steve Twiss > Cc: Wolfram Sang > Cc: linux-renesas-soc@vger.kernel.org > Acked-by: Mark Brown > Reviewed-by: Geert Uytterhoeven > --- > V2: Drop useless cast of id->driver_data > V3: Fix kernel 0day error , s/dev_model/type/ > --- > drivers/mfd/da9063-core.c | 1 - > drivers/mfd/da9063-i2c.c | 5 +++-- > drivers/regulator/da9063-regulator.c | 6 +++--- > include/linux/mfd/da9063/core.h | 6 +++++- > 4 files changed, 11 insertions(+), 7 deletions(-) For my own reference: Acked-for-MFD-by: Lee Jones -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog