Received: by 10.192.165.156 with SMTP id m28csp834152imm; Thu, 19 Apr 2018 08:17:25 -0700 (PDT) X-Google-Smtp-Source: AIpwx49gwyEVR7+gUNzfz9r7EBOWYJ42evzQpFY3DL5TLoxMfg+gGpnaIHfwY7sC3pznZFVWMb3y X-Received: by 2002:a17:902:5a5:: with SMTP id f34-v6mr6464697plf.288.1524151045066; Thu, 19 Apr 2018 08:17:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524151045; cv=none; d=google.com; s=arc-20160816; b=Wcexrz2XkQTypt+xmM19XsjdFKfpRM4ijb2ROiFEQfLqu8VRG8J27sStgj68oTNlz+ aJjPmAi/QGO3fCqy4GLg0UskioT0/e/+wHrb7nBeckRdx6DdtRI5BNYo/vkQ8LaZpjPl kI2mx0JAJ6PN6AMw0Ac69YzvdjAE8MSQOmT/nagO/8FK2tqoWAytVRZHJZxRe2zhvgtB yEtiUwRE8qWOZcSaj+rI6fvYqqj2h521e3/68Q8crYTdyuV1UEa7BFIswHYEwX3u6Uyu LWp/zbHQGAE/2qc0RDXVpEo3tEqJ8eRyjSlUb/zBstMgT+iZoEXop9pC+fjSbiSdTs60 zqsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=fQvwPFZXsgCK+PFcD1X/pjy922zEnFy+XK8aWNWeTrY=; b=Q6xg8+NC9iWvRHsRIPbYcDdcp0P1saVgqNCMXI8hvwZivIoGhiRZT7id6YVJSdNtM4 hu0f2iht0f1jW+C0aHIvV4QppE3w3ulBnnbJ9ms1PXuWsmucB4RhYeoEjK21TntATaGN 534qmzgpp3Dz7B07J24NRhcmdS0k+/6Nk8oNlp/xskNDfRyDkFXohA6tlLHyV/fwYBvN I+vctEuKPXy/L2788FpTrw7VahHrjSwhiywukE2dWL0+mfQz4khNli2AKRiylcYUfDmK HP4gS2B87iGag+MgJ5L4NOFRt85nyMjEnfqO4/uxQycCPqw+zkqjPP+NiqRF2FH15dGl 5SzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=E5ObHd/a; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q17si3426593pfg.298.2018.04.19.08.17.11; Thu, 19 Apr 2018 08:17:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=E5ObHd/a; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752841AbeDSPOs (ORCPT + 99 others); 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 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3JFEfpH028696; Thu, 19 Apr 2018 10:14:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1524150881; bh=IDjMCezer96Tcbwe6Ka1MW4eE2T9fVc2IxqYh7s8FG8=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=E5ObHd/abX+zvtYkrWF76r74m0dDz0IdjVWjPV2JLZ0BXJx94HlzeRGsg3WtW2Yu2 hSUTNQEQN9kwUqJ8ouLhUUcdsqkCFJcuCzcHeZDophyWSGLsy66yYhYcSOZ1m+dzpy jmQU4Cx4ThqorVwqjVXLAhcLKX9GCE1XFJodcoOI= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3JFEf7a031180; Thu, 19 Apr 2018 10:14:41 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Thu, 19 Apr 2018 10:14:40 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Thu, 19 Apr 2018 10:14:40 -0500 Received: from [128.247.59.147] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3JFEe1R022121; Thu, 19 Apr 2018 10:14:40 -0500 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 Precedence: bulk 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