From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932253AbcHJSCV (ORCPT ); Wed, 10 Aug 2016 14:02:21 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:56665 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932173AbcHJSCR (ORCPT ); Wed, 10 Aug 2016 14:02:17 -0400 Subject: Re: [PATCH v3 10/13] net; ethernet: ti: cpsw: move irq stuff under cpsw_common To: Ivan Khoronzhuk , , References: <1470784964-26440-1-git-send-email-ivan.khoronzhuk@linaro.org> <1470784964-26440-11-git-send-email-ivan.khoronzhuk@linaro.org> CC: , , From: Mugunthan V N Message-ID: Date: Wed, 10 Aug 2016 21:14:51 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <1470784964-26440-11-git-send-email-ivan.khoronzhuk@linaro.org> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday 10 August 2016 04:52 AM, Ivan Khoronzhuk wrote: > The irq data are common for net devs in dual_emac mode. So no need to > hold these data in every priv struct, move them under cpsw_common. > Also delete irq_num var, as after optimization it's not needed. > Correct number of irqs to 2, as anyway, driver is using only 2, > at least for now. > > Signed-off-by: Ivan Khoronzhuk Reviewed-by: Mugunthan V N Regards Mugunthan V N