Received: by 10.213.65.68 with SMTP id h4csp2008819imn; Thu, 29 Mar 2018 15:38:04 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/RQuVjZZHwLElr/9STASJIVPbWNMBXgBBK+quL5J3XdAS5Av/YSbljqHoFYeV90oH2PlRT X-Received: by 2002:a17:902:82c2:: with SMTP id u2-v6mr10007481plz.401.1522363083926; Thu, 29 Mar 2018 15:38:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522363083; cv=none; d=google.com; s=arc-20160816; b=to5jc6/50hUxh02K04OWC4Ks8YbUWqjVY9Umd0S+fsCBJV22Tz3UW7LefY8TYBEZYG DkYF3degn6U+2TyfQdYj3xuFLtljA+lguZMYio/jcqt3zxQnhhlMyk9B9waycxDjQlbH WS6SjJUNEzIaryB1rboiedPdZQlsvKO5MNYmfnpzlqC6PoMbFeoNUZzx6lmiQwsDoQZO sKhCL1+ZOfR0QcPZjOK4r/BzIS2rln6xceyAKRe9fn8FjJHb/su3YIv4VJDC4TvRTHAn GhcYHYn0/aO88iFdwMNRFViv9uaOJIHsihrYplYru6RcaqaK0S7KquI/CXgJHHsPgQxc UDrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=ltCWd/jHyPe6BupUFcafdQlQlNXku5pZTcalnkFOVbE=; b=b0uXPPeQFa2ci1G3JTjhQA9ziqjl29qAAoyKPS+Rhy5grmyrhkHnZuWKOnNE3iEKtI 3diV1pq2ryymMrXxFIxufSIHoYk2QPGN9NKdUzXpUhmg7YPUiFx3xEomzmrF0WlheAbD XZWEsnTrG0heEi/EgGp2TvBRZhtMO0ZZ9fTgQeY61hVagSlTf3Jn9mR04tV1DAKmIf7W Vioa63tN/P8N4fsqZPKRYonmfREmqibEi0MkxW+soPInoO47k3YaG8/6m/enSrN0uuBz n+i61CnrkWe5D4KsCXwF8DQ3wANKR5XpLHpG//QEtol3A/x8jdZQabtTTN5HR3eqjgZ7 OcfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=iIjMwOkp; dkim=fail header.i=@chromium.org header.s=google header.b=dTkW6z3v; 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=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a190si4626183pge.436.2018.03.29.15.37.48; Thu, 29 Mar 2018 15:38:03 -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=fail header.i=@google.com header.s=20161025 header.b=iIjMwOkp; dkim=fail header.i=@chromium.org header.s=google header.b=dTkW6z3v; 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=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752230AbeC2Wgi (ORCPT + 99 others); Thu, 29 Mar 2018 18:36:38 -0400 Received: from mail-ua0-f193.google.com ([209.85.217.193]:34998 "EHLO mail-ua0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751513AbeC2Wgg (ORCPT ); Thu, 29 Mar 2018 18:36:36 -0400 Received: by mail-ua0-f193.google.com with SMTP id c40so4529758uae.2 for ; Thu, 29 Mar 2018 15:36:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=ltCWd/jHyPe6BupUFcafdQlQlNXku5pZTcalnkFOVbE=; b=iIjMwOkpjVvopmYHvM6yG37Rf8Zzv8g9fuHx9VogaOA8HixTZCkjlD9b12hc5LEtYY 7JvIp9ykBnclXv0hc9Fsu56PzboBccf/Z+BKySnqLJLuDkrKWUG8K/PT9fzIiTqz5UKX n30rXe3+G+oRdPGbRtQddvkOehNRZQm4emOAqN7wPfbmLy0Q7JKnp+bS6ZHK9Ht6RIIY OUA6ts2cGBodrD7aRQo3ss6DMwzJerq/RuEtDrN0R0KFLEBFGGZReFHehXCkD9NvbG4W Eod53yrJChYimW7jRnYunIKChxNfkQXdu3Wk9R2dRj86UeMsg4h5OCJgJHcfnz2khLpd jqiw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=ltCWd/jHyPe6BupUFcafdQlQlNXku5pZTcalnkFOVbE=; b=dTkW6z3vpyj9GrMVHAmExyhEdmaSuABL6XqiAur5jqhG8FPllnC2+V64KHHjB7fw23 O0N2BQjrep/smbW49IKJtXVPc6rcGkSwYQUbrMubgcCmnDwr5tfRzyv2wkhseszrXP4d HhmxaiD3O5qasUEoSbvVx36/unB0MLREES9eQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=ltCWd/jHyPe6BupUFcafdQlQlNXku5pZTcalnkFOVbE=; b=cQGKmlZ3gUSGiJoM7wNZ+IgIzGBvpLq7ALsS1SGNHtnuZVsFCZ711NbtwDFF0k7dMt 0SY6w+8x0YXmuToZSHeDyqRCYB/I3vSXzO8r3CFXr2apWFIAHdCh6j8nQFPbZ9xykc5d YbvXF7he1d3TqB8YmB+38l1vCNRn9XKTwNduv7zEaCt9PkStG2C90e0LoK7/+QkBZVcT 7RFmjt211jqY2zZwntEqC63ZDdgNcUC5Plsj48EpW35KOXy8Bqdjgcp2BSFiB7pWxwmd 85tnN9kMlo+LzfhifVIDQA+iw/M19ruvhZLpRLsr/UZjt5IpOjrxFEjftDMXr/Q+iItX +I/g== X-Gm-Message-State: AElRT7EHqWpzXncdb425PVlS+gKlhhHbDhnnug/cGN3PoOAllqRSu/K2 ehW7LHd6pbc7HhYzaUplq5Ugq2Vl+wjzA4D6IbDFaQ== X-Received: by 10.176.86.74 with SMTP id z10mr6761072uaa.154.1522362994577; Thu, 29 Mar 2018 15:36:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.4.8 with HTTP; Thu, 29 Mar 2018 15:36:33 -0700 (PDT) In-Reply-To: <152165924074.91116.13025068669916027026@swboyd.mtv.corp.google.com> References: <71fab82672524b95632cdb588c16edfc9711866a.1521246069.git.collinsd@codeaurora.org> <152165924074.91116.13025068669916027026@swboyd.mtv.corp.google.com> From: Doug Anderson Date: Thu, 29 Mar 2018 15:36:33 -0700 X-Google-Sender-Auth: T8VgsqUP-sFbdB8CoGqSzE2_dfQ Message-ID: Subject: Re: [PATCH 1/2] regulator: add QCOM RPMh regulator driver To: Stephen Boyd , Evan Green , Lina Iyer Cc: David Collins , Mark Brown , Liam Girdwood , Mark Rutland , Rob Herring , linux-arm-msm@vger.kernel.org, Linux ARM , linux-arm@lists.infradead.org, devicetree@vger.kernel.org, LKML , Rajendra Nayak Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, Mar 21, 2018 at 12:07 PM, Stephen Boyd wrote: >> +static int rpmh_regulator_remove(struct platform_device *pdev) >> +{ >> + struct rpmh_pmic *pmic = platform_get_drvdata(pdev); >> + >> + rpmh_release(pmic->rpmh_client); > > I'm still lost on what rpmh_client is giving us besides more code we > don't need. I'll ping the rpmh thread again. It's not completely obvious to me what you are asking here and I think you didn't actually get back to pinging the RPMH thread, did you? In his response, David seems to have taken your comment as "I agree with Doug, please add devm_rpmh_get_client", but I'm not sure that's what you meant. It sounds a lot like you're suggesting totally gutting the concept of the "rpmh_client". I certainly haven't reviewed RPMH a whole lot, but perhaps you can make it more obvious how this would work. In any case, I guess this is a bit off topic for the regulator series. Perhaps you can respond to the RPMH series with more details about what you're looking for? Thanks! -Doug