Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp735689imm; Wed, 23 May 2018 04:52:53 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq1sT/ud1KYDf9T+6xYANdNTaZyOxeWso9Ra0zRjW72x0RmOzhBtbP44qTHkUwGU7d5PQjP X-Received: by 2002:a62:9696:: with SMTP id s22-v6mr2578178pfk.191.1527076373156; Wed, 23 May 2018 04:52:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527076373; cv=none; d=google.com; s=arc-20160816; b=SvyKGFYFx5ET/8h5UKm817OLab6F5TjaKGZkIMI/eJbButX2q9kLKVngwXNMh6dhfI 9jBNmrHAddz/oaJpc+D2skJyrBOH4hXmm9AlFoFT2L2vSun8rNoxYAEblk2eh4JSuwSa FE0JCLr/Mm0XIFZ7VjGMzJz7FHJBaMvgNHMEcEteg/QoRCTJQFKm6W+OV9fkSYNHnMlI uXA+sxSB1eii694OEauB4hDRLdSebqTsJUvJGVIBxhHDK3WPYZtWAdNy/1/LEjEq8aGy 8Kp/gGDDdHaXz4IzJbvpypj7RCEGSxLhtuT2z1LvbeIEvv4m8El2sl6ZjNoEQ9zSWM+O +mmQ== 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 :arc-authentication-results; bh=pckuT7bwlwGhSUzlhHtXZbS9NwM1wrIQ/4YhYRSZONE=; b=nlys0xI5RnxXOap4n53Ly6sFi3xl6QGSGG0mwqrgSwZKHtiaIZCgA5dLnYGYh7G2U3 BfmLdGOcZ0Ve3ujwz5SQJFjxS38eNvRyJAfe0UVz6GOCfHPu4lGlpgGtLFIsMONFQm0v FfiBitJFE/D1Wcpq0rHd22P4N9+BARlLtdSCx2rF0s4waxAxYYBCqqQywwRlJ7DW6R4d 0B5I60BHOmMbrQpaUMvxANzqVDbhnieCdBpDU+8xx6hsFVvD2t99hANpn5iwrHlRD+J3 P8mzJmpsg6PjdrEIGxexE3N4faqWWFo+SF4RgzoKVfyQPkIczLD6xwa6qE8bvACdWwrp p9Vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QzSlkP2Q; 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 d90-v6si18776498pld.92.2018.05.23.04.52.37; Wed, 23 May 2018 04:52:53 -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=QzSlkP2Q; 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 S932823AbeEWLvG (ORCPT + 99 others); Wed, 23 May 2018 07:51:06 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:54950 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932806AbeEWLvB (ORCPT ); Wed, 23 May 2018 07:51:01 -0400 Received: by mail-it0-f68.google.com with SMTP id z6-v6so3978719iti.4 for ; Wed, 23 May 2018 04:51:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=pckuT7bwlwGhSUzlhHtXZbS9NwM1wrIQ/4YhYRSZONE=; b=QzSlkP2QuKvIaDjqdlnp+CtR6jT+20C7nj0xs9eAADPfjf3+mV3EyUiP0Weg0wwJtB 61yfE5n859ZZyJxP+7AFSPuCMFJ+bQHLZLnHx+RlXBirv5sDeCDdzT9P8xd5RAHHnY/Q b4mdziXFzFy6Q9W8c/W9MWz7uMTAMlUydrxaE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=pckuT7bwlwGhSUzlhHtXZbS9NwM1wrIQ/4YhYRSZONE=; b=AsBxA6P/O2cy+ZxP2HTB2yKP1bWdD/WAiAYw6BsHfHVcJPrsbc8FaNu28+04QlAGZ5 7J0TfTWPFzj7YPu/NvWZF/yaIUvzKTthjDY8PlSAra5oBaxNy58wn/LjYWm/dAcsxNYl +c2m3s9V4p07qPPfg7AsCRs5LlIIIMqL7Z/n9tAUvvLCcJq3cJoyi2wuPwvtK0Hz7mnx phyjhrDRf+fljfUmW7N/BSnS9y1cwdYAQqA3RLbt3xjv87PJlEVqfdUoSmEqIneB7adW qVD7lAUDEVUOu9YjyJS8pD/0GTxKyW5GQ7qjKbsyc3WLTDa+3+NRsWvRZJCtMDA7x+4Y F0YA== X-Gm-Message-State: ALKqPwca4S2dGXx/9j1ROi/5LRLRKuqSRNcFhiwmDTQV+fZSiLxm8a5p 9xpQyUdLzioU2y66s3gZ5E7MYzVayqvxWp+Cd5tcaA== X-Received: by 2002:a24:3ccf:: with SMTP id m198-v6mr4590625ita.113.1527076260742; Wed, 23 May 2018 04:51:00 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:4bc3:0:0:0:0:0 with HTTP; Wed, 23 May 2018 04:51:00 -0700 (PDT) In-Reply-To: <002d01d3f28b$d3ce3980$7b6aac80$@codeaurora.org> References: <1527068454-28921-1-git-send-email-ilialin@codeaurora.org> <1527068454-28921-2-git-send-email-ilialin@codeaurora.org> <3f1ca60e-7aa8-fccc-ab1c-4b7c37731cce@arm.com> <002901d3f286$198878b0$4c996a10$@codeaurora.org> <002b01d3f28a$0d033900$2709ab00$@codeaurora.org> <002d01d3f28b$d3ce3980$7b6aac80$@codeaurora.org> From: Viresh Kumar Date: Wed, 23 May 2018 17:21:00 +0530 Message-ID: Subject: Re: [PATCH v10 1/2] cpufreq: Add Kryo CPU scaling driver To: Ilia Lin Cc: Sudeep Holla , Viresh Kumar , Nishanth Menon , Stephen Boyd , Rob Herring , Mark Rutland , "Rafael J. Wysocki" , "linux-pm@vger.kernel.org" , "devicetree@vger.kernel.org" , Linux Kernel Mailing List 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 On 23 May 2018 at 17:17, wrote: > The nvmem will return EPROBE_DEFER, and so will my driver's init. But then no one will call the init again. So even your driver needs to be registered as a platform driver then and you can create its device from the init function, and add a comment on why you create the platform device in the driver itself. -- viresh