Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752118AbaGJL7n (ORCPT ); Thu, 10 Jul 2014 07:59:43 -0400 Received: from mail.skyhub.de ([78.46.96.112]:49059 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751394AbaGJL7m (ORCPT ); Thu, 10 Jul 2014 07:59:42 -0400 Date: Thu, 10 Jul 2014 13:59:34 +0200 From: Borislav Petkov To: Viresh Kumar Cc: "Rafael J. Wysocki" , Lists linaro-kernel , "linux-pm@vger.kernel.org" , Linux Kernel Mailing List , Arvind Chauhan Subject: Re: [PATCH] cpufreq: report driver's successful {un}registration Message-ID: <20140710115934.GF2970@pd.tnic> References: <9e68cba2bf41923630ea93de7c3d17637f175895.1403772686.git.viresh.kumar@linaro.org> <20140710114828.GA3254@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 10, 2014 at 05:21:43PM +0530, Viresh Kumar wrote: > So that it appears in boot logs and we know cpufreq registered properly. So flip that logic: Don't say anything in the success case and issue an error only when it failed. Like the rest of the code does it. -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/