From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [PATCH] PM / Runtime: Rework RPM get callback routines Date: Sun, 19 Oct 2014 00:12:04 +0200 Message-ID: <20141018221204.GA10843@amd> References: <1413543482-12748-1-git-send-email-a.hajda@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:33678 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751143AbaJRWMH (ORCPT ); Sat, 18 Oct 2014 18:12:07 -0400 Content-Disposition: inline In-Reply-To: <1413543482-12748-1-git-send-email-a.hajda@samsung.com> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Andrzej Hajda Cc: "open list:SUSPEND TO RAM" , "Rafael J. Wysocki" , Len Brown , Greg Kroah-Hartman , open list On Fri 2014-10-17 12:58:02, Andrzej Hajda wrote: > PM uses three separate functions to fetch RPM callbacks. > These functions uses quite complicated macro in their body. > The patch replaces these routines with one small macro and > one helper function. > > Signed-off-by: Andrzej Hajda Looks good to me. Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html