Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp4389421ima; Mon, 4 Feb 2019 15:53:08 -0800 (PST) X-Google-Smtp-Source: AHgI3IbmolYOBNDABp+rukRBKsdb36rODEqhVoQTi3wj95gKJA1Yvsq7mly88cL8C4qqZyNbi0/0 X-Received: by 2002:a17:902:1022:: with SMTP id b31mr2026401pla.141.1549324388844; Mon, 04 Feb 2019 15:53:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549324388; cv=none; d=google.com; s=arc-20160816; b=ihZZfW3ueMJ91etXFa68HFaBHg5oKIK4g/9/SN5mvosw/AbRJKtXJQCss0/uxivR4K +gCXQ/dZm88Mi46215Csem7o3crWgsPBCC8nEoJ/iVhK/jfJUyCJaC+FQv4IGA3CMehS W6DxfUiWz7PIOt/jk/tCGZTukkQmSF21sM7+nle6YsCIacR3RVWso2fTmL0sbQtOac3R nqAsStIYwTUBkFi5Z8o1UYiwDeoGf5OZVDPHQ7dxZJgaSvEY/HyZAsu6Beh/ivsr35vQ EcdJSBLAP8IXDZWn28g0ODs6yJ1oarTn3JmFbCeQz7lot6/q4n8wOQq5jpXCSlNBl1gE Cu9w== 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=ycN9mG9m+DfDkUYyUzb31AWN0GDCtVKDc4vLDqPLUog=; b=ZxbzlLC+lBJm3Nl53SpCQVnXnt0DI8KA3srUdEo3o75GmxzwCGWeBnUz13ee7007/A jyvU/j+O8su6N9WZ92wBabu0+PzqwQ++BHGFRtGIiRKKv8zt2SIYVsniXsVVDbndBRB9 dHWytVePi2F1uaKNCk2038xRD+GEClb4Keu+1FXbmUDvb3T/AiVTb7m34JU+uyj/15o1 ltxGIGO9EI4PMywid8qP+phew41AbGiaeGaakamhH85VkJHg5Pvc83Rgk+0j1c0hnM7X fOnj3dldtAzOFM5XjtVVTA+Bd1YHGnsuNeN0cmE3TbNzD1byv7LuzZ0YD8DkUXm/XV3l XS/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=nrCYgCd1; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 37si1331976pgs.447.2019.02.04.15.52.51; Mon, 04 Feb 2019 15:53:08 -0800 (PST) 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=fail header.i=@lechnology.com header.s=default header.b=nrCYgCd1; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727499AbfBDXun (ORCPT + 99 others); Mon, 4 Feb 2019 18:50:43 -0500 Received: from vern.gendns.com ([98.142.107.122]:51670 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726083AbfBDXum (ORCPT ); Mon, 4 Feb 2019 18:50:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ycN9mG9m+DfDkUYyUzb31AWN0GDCtVKDc4vLDqPLUog=; b=nrCYgCd1SVQ1n+iHDBRF2zlWr7 v0W/PEnBd47WazlzoJ1UHnvwido3vCnhdetRLCp3WJfmDLFlj4w4WHh12rEpqXZtCZNn+19RLuSEU xargY0Zv9v4eTo9hw0axP78WonMxlsy9zVKOU6vzuYlMmQZHl6lpNaXrEXAI5fPN14rjnnfH7KcAk 4lzbX0OnM9h9MB+jeycbZY82qENsO4vzYiKFRcDlP8AEzp+d8nzdxt57Cfr+Ya4qiAqZN31HC/OL0 f5icxoPmOHNRuIbqQeofQ7j8xAh1KpLq2RItEKAMBKtsoHEntJlYWmE9cCHeD4cVNtA1lkfIU2Cnn vGCMnW7w==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:59730 helo=[192.168.0.134]) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1gqnxB-0007cZ-LB; Mon, 04 Feb 2019 18:47:05 -0500 Subject: Re: [PATCH 20/35] ARM: davinci: cp-intc: add a wrapper around cp_intc_init() To: Bartosz Golaszewski , Sekhar Nori , Kevin Hilman , Thomas Gleixner , Jason Cooper , Marc Zyngier Cc: Bartosz Golaszewski , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20190131133928.17985-1-brgl@bgdev.pl> <20190131133928.17985-21-brgl@bgdev.pl> From: David Lechner Message-ID: <95b87881-bed5-83e9-ce67-a312e4acd4cd@lechnology.com> Date: Mon, 4 Feb 2019 17:50:39 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190131133928.17985-21-brgl@bgdev.pl> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/31/19 7:39 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > We're going to extend the cp_intc_init() function with a config > structure so we can drop the intc-related fields from davinci_soc_info. > > Once we do it, we won't be able to use this routine directly as the > init_irq callback. Wrap the calls in additional helpers that don't > take parameters and can be assigned to init_irq. > > Signed-off-by: Bartosz Golaszewski > --- Reviewed-by: David Lechner Also, same bikeshed comment about xxx_init_irq vs. xxx_init_irqs.