From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754871AbbG1CGv (ORCPT ); Mon, 27 Jul 2015 22:06:51 -0400 Received: from mail-pd0-f170.google.com ([209.85.192.170]:33819 "EHLO mail-pd0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754505AbbG1CGs (ORCPT ); Mon, 27 Jul 2015 22:06:48 -0400 Date: Tue, 28 Jul 2015 07:36:44 +0530 From: Viresh Kumar To: "Rafael J. Wysocki" Cc: "Rafael J. Wysocki" , Linux PM list , Linux Kernel Mailing List , Russell King - ARM Linux Subject: Re: [PATCH 7/7] cpufreq: Separate CPU device removal from CPU online Message-ID: <20150728020644.GL18535@linux> References: <7868353.pEStq1MJ2a@vostro.rjw.lan> <3874727.Jpay9zgokc@vostro.rjw.lan> <1739669.kedIsxdRK2@vostro.rjw.lan> <20150727150655.GI18535@linux> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27-07-15, 23:56, Rafael J. Wysocki wrote: > OK, I've just seen that patch, but it doesn't modify bus_probe_device() AFAICS. Why is bus_probe_device() required to be modified? I wrote this patch to propagate -EPROBE_DEFER from the ->init() callback, which is called from cpufreq_register_driver(). And that worked after my patch.. > Plus we also ignore the return value of cpufreq_add_dev() in the > hotplug notifier callback. My use case needed it for the subsys callback. -- viresh