From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751478AbeDTEVz (ORCPT ); Fri, 20 Apr 2018 00:21:55 -0400 Received: from mail-pg0-f68.google.com ([74.125.83.68]:46604 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750751AbeDTEVx (ORCPT ); Fri, 20 Apr 2018 00:21:53 -0400 X-Google-Smtp-Source: AIpwx4916VstAfUPh8od87G1ZbtRXX4MNPnnbT+9Z+p/hvF6bcl4Z70GFN+VUbv/RN651YFVVoY/aQ== Date: Fri, 20 Apr 2018 09:51:49 +0530 From: Viresh Kumar To: Wolfram Sang Cc: linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, kernel-janitors@vger.kernel.org, Viresh Kumar , Andy Shevchenko , Dan Williams , Vinod Koul , dmaengine@vger.kernel.org Subject: Re: [PATCH 08/61] dmaengine: dw: simplify getting .drvdata Message-ID: <20180420042149.GH24576@vireshk-i7> References: <20180419140641.27926-1-wsa+renesas@sang-engineering.com> <20180419140641.27926-9-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180419140641.27926-9-wsa+renesas@sang-engineering.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19-04-18, 16:05, Wolfram Sang wrote: > We should get drvdata from struct device directly. Going via > platform_device is an unneeded step back and forth. > > Signed-off-by: Wolfram Sang > --- > > Build tested only. buildbot is happy. Please apply individually. > > drivers/dma/dw/platform.c | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) Acked-by: Viresh Kumar -- viresh