From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: [PATCH] PM / Domains: Change prototype for the ->attach_dev() callback Date: Sat, 15 Nov 2014 12:32:00 +0100 Message-ID: References: <1414670569-3002-1-git-send-email-ulf.hansson@linaro.org> <3267963.fqUYb7m9Rv@vostro.rjw.lan> <7hsihx1bvo.fsf@deeprootsystems.com> <1442757.2EcII903db@vostro.rjw.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-lb0-f182.google.com ([209.85.217.182]:48086 "EHLO mail-lb0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752215AbaKOLcD (ORCPT ); Sat, 15 Nov 2014 06:32:03 -0500 In-Reply-To: <1442757.2EcII903db@vostro.rjw.lan> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: "Rafael J. Wysocki" Cc: Kevin Hilman , Dmitry Torokhov , Ulf Hansson , Len Brown , Pavel Machek , Linux PM list , "linux-arm-kernel@lists.infradead.org" , "linux-samsung-soc@vger.kernel.org" , Geert Uytterhoeven , Alan Stern , Greg Kroah-Hartman , Tomasz Figa , Simon Horman , Magnus Damm , Ben Dooks , Kukjin Kim , Philipp Zabel , Mark Brown , Wolfram Sang , Russell King , Jack Dai , Ji Hi Rafael, On Sat, Nov 15, 2014 at 12:48 AM, Rafael J. Wysocki wrote: >> Subject: [PATCH] PM / Domains: Change prototype for the attach and detach >> callbacks >> >> Convert the prototypes to return an int in order to support error >> handling in these callbacks. >> >> Also, as suggested by Dmitry Torokhov, pass the domain pointer for use >> inside the callbacks, and so that they match the existing >> power_on/power_off callbacks which currently take the domain pointer. >> >> Acked-by: Dmitry Torokhov >> [khilman: added domain as parameter to callbacks, as suggested by Dmitry] >> Signed-off-by: Ulf Hansson >> Signed-off-by: Kevin Hilman > > That's in the Linus' tree now. Thank you very much. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds