Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1751802ybi; Sat, 1 Jun 2019 03:52:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqzGeGU7jlAiv4wU2eHDeuR6Sn62AurHKS63N1VR/IghI6Sc+lirdDBxYoi5eexX7QTRvJTp X-Received: by 2002:a65:5344:: with SMTP id w4mr14460990pgr.8.1559386343210; Sat, 01 Jun 2019 03:52:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559386343; cv=none; d=google.com; s=arc-20160816; b=W4HTgqWCfEudzi7/i2JyovhwMDNKRQg0gXqRS/EnISJG46yLRYYToT0LU8zNiDLd56 O30cOi5SkkfboC2lsU0qkPARtEbCZqAVLxUI8V85es5PpygAAED6PEdaKzNKRN7gMmFT WTvoSeNjo6UC++Crqk1N2OgbB7FblOHZ20gd3wJfF2O75HnxErk68A9aCvlRB2+UeDG1 k5hx3Uc3g8+iN2V4x1EOdE6k4ikcKe+Q2JQ11+jdTzZ89UlP7o32YXnOnzSJnkqzgBao VXhpgbvfuitAK2uETUpSR43yNt0O23M61Obpzqcf5lIqZyVGPSk0/gIuo5n8Xn78qRQL PZ2w== 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; bh=ob8wspeqbSXyGJzsgzx60G/Qe41rKvi0r3dNErbqquI=; b=ZoZyc9OUF432H9bK+YwtniyuSQWBUhGF4SBaCYYMWZs3xsXnHEBiy0Af5PvvzoffgI WfFK6oqxR9G0glcRK2apnSHvgyvNYSIg/I0Ms7/cIHUqc+X5BLiyQMrANKtwQDnPHG3a rlaXEQgwUV1eueuN2RO24w537VF6EpECEA0AScOe1YbEEfTy/A5b3mo413RfDkrtY3Pi rdfKnib9spSsEvjgZeC4+7KP5IcChYwV8zEYbwuci2TDGSmM84KHsuOUbOPUmBFrDOCR IkLKhxY1BpSX1DB0jIuzg3oJzDYSMZ6odgVextpsgAfuAroMd2Yg15aFu7kUjZXBgXdg 1XQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=KDy6I1Zn; 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 f15si9850728pgu.218.2019.06.01.03.52.07; Sat, 01 Jun 2019 03:52:23 -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=KDy6I1Zn; 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 S1727144AbfFAKuK (ORCPT + 99 others); Sat, 1 Jun 2019 06:50:10 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:36738 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726109AbfFAKuJ (ORCPT ); Sat, 1 Jun 2019 06:50:09 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x51Anjk4092901; Sat, 1 Jun 2019 05:49:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1559386185; bh=ob8wspeqbSXyGJzsgzx60G/Qe41rKvi0r3dNErbqquI=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=KDy6I1Zn9ZRbUKBGdnplrjHzZH6Pi88EVM3voaxTfUuDdTBtZhunmB0mn2YqLfkJV SdYVycpBEBpg9fqND5rjW/u723gb4/tbciwJXtnP5F7pJ2twCzF5eeWNdh8PruWffU KbYTwGOaX2YPsw3ZMR5IX/7F7neBSuSWh/H9NBp0= Received: from DLEE110.ent.ti.com (dlee110.ent.ti.com [157.170.170.21]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x51AnjsM130744 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 1 Jun 2019 05:49:45 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Sat, 1 Jun 2019 05:49:45 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) 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.1713.5 via Frontend Transport; Sat, 1 Jun 2019 05:49:45 -0500 Received: from [10.250.96.121] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x51Angnh055815; Sat, 1 Jun 2019 05:49:42 -0500 Subject: Re: [PATCH v2 net-next 3/7] net: ethernet: ti: cpsw: use cpsw as drv data To: Ivan Khoronzhuk , , CC: , , , , , , , , References: <20190530182039.4945-1-ivan.khoronzhuk@linaro.org> <20190530182039.4945-4-ivan.khoronzhuk@linaro.org> From: grygorii Message-ID: <976fc52a-2f9c-d597-09b4-93d37a510f13@ti.com> Date: Sat, 1 Jun 2019 13:49:35 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20190530182039.4945-4-ivan.khoronzhuk@linaro.org> 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 30/05/2019 21:20, Ivan Khoronzhuk wrote: > No need to set ndev for drvdata when mainly cpsw reference is needed, > so correct this legacy decision. > > Signed-off-by: Ivan Khoronzhuk > --- > drivers/net/ethernet/ti/cpsw.c | 16 +++++++--------- > 1 file changed, 7 insertions(+), 9 deletions(-) Thank you. Reviewed-by: Grygorii Strashko -- Best regards, grygorii