From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752841AbbJGLYD (ORCPT ); Wed, 7 Oct 2015 07:24:03 -0400 Received: from mga11.intel.com ([192.55.52.93]:63983 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751385AbbJGLYB (ORCPT ); Wed, 7 Oct 2015 07:24:01 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,648,1437462000"; d="scan'208";a="575783121" Date: Wed, 7 Oct 2015 12:23:48 +0100 From: Vinod Koul To: Peter Griffin Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, srinivas.kandagatla@gmail.com, maxime.coquelin@st.com, patrice.chotard@st.com, lee.jones@linaro.org, robh+dt@kernel.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, Ludovic Barre Subject: Re: [PATCH v2 6/9] dmaengine: st_fdma: Add fdma suspend and resume callbacks. Message-ID: <20151007112346.GC4810@vkoul-mobl.iind.intel.com> References: <1441980871-24475-1-git-send-email-peter.griffin@linaro.org> <1441980871-24475-7-git-send-email-peter.griffin@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1441980871-24475-7-git-send-email-peter.griffin@linaro.org> 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 Fri, Sep 11, 2015 at 03:14:28PM +0100, Peter Griffin wrote: > +#define ST_FDMA_PM (&st_fdma_pm) > +#else > +#define ST_FDMA_PM NULL > +#endif Pls use PM helpers you dont need to do this -- ~Vinod