From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752844AbeDSPOs (ORCPT ); Thu, 19 Apr 2018 11:14:48 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:47925 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751381AbeDSPOq (ORCPT ); Thu, 19 Apr 2018 11:14:46 -0400 Subject: Re: [PATCH 35/61] net: ethernet: ti: simplify getting .drvdata To: Wolfram Sang , CC: , , , References: <20180419140641.27926-1-wsa+renesas@sang-engineering.com> <20180419140641.27926-36-wsa+renesas@sang-engineering.com> From: Grygorii Strashko Message-ID: <08a08b63-976a-dda5-229a-b79a18eb80d7@ti.com> Date: Thu, 19 Apr 2018 10:14:40 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180419140641.27926-36-wsa+renesas@sang-engineering.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/19/2018 09:06 AM, 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. Reviewed-by: Grygorii Strashko -- regards, -grygorii