From mboxrd@z Thu Jan 1 00:00:00 1970 From: shuox.liu@intel.com Subject: [PATCH 0/2] Run callback of device_prepare/complete consistently Date: Fri, 7 Jun 2013 16:20:30 +0800 Message-ID: <1370593232-3602-1-git-send-email-shuox.liu@intel.com> Return-path: Received: from mga01.intel.com ([192.55.52.88]:13716 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751313Ab3FGI0q (ORCPT ); Fri, 7 Jun 2013 04:26:46 -0400 Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: linux-kernel@vger.kernel.org Cc: linux-pm@vger.kernel.org, pavel@ucw.cz, rjw@sisk.pl, len.brown@intel.com, gregkh@linuxfoundation.org, yanmin_zhang@linux.intel.com dpm_run_callback is used in other stages of power states changing. It provides debug info message and time measurement when call these callback. We also want to benefit ->prepare and ->complete. [PATCH 1/2] PM: use dpm_run_callback in device_prepare [PATCH 2/2] PM: add dpm_run_callback_void and use it in device_complete