Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp4365203ima; Mon, 4 Feb 2019 15:18:40 -0800 (PST) X-Google-Smtp-Source: AHgI3IZPkhNwgaymtnEzsca90FSjd8HoovdaeLrVYYi5ZENYKMfpg35CPEN8zQeUoTWNvtTITAYM X-Received: by 2002:a65:6542:: with SMTP id a2mr1673823pgw.389.1549322320824; Mon, 04 Feb 2019 15:18:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549322320; cv=none; d=google.com; s=arc-20160816; b=pqti7+fzC0l5L2Z2CAPivoyZEi+QLBbdyQ3/BPdaS3iTvIpG3hr4qu7RbpRSLFtZNB 5O1/Y+PuzAXjd0HzLt1eU4R5Nsb91O0YLiI4N3solOJheNNJ/rfvhfrWRQUJL7JC+xjE JzfFZ5f0cgQgSTykVp6cUHJ6CvBkBa4kiwmx1KqvuyN9d+vlRntkP9+vZaEemxQHCaKL cUxySfscAqBoEFJ69lNRGQ1jKQOUJHk0slBftcOoFLu5VUpprtFQvhe7LvYXwnxk4kTX +jaZKznMc7ZNFQ/Dp0py6OnhLvr2NXhzEvZz8U9LwXACkFXp9kbmpeF+OHFO415+9K6o Ijmw== 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=Zqg6PQDYEksqf7XsBp5pfxKN6SfqgMCc7RZIl+8gYLU=; b=SXrrcLdLbXf95zXo5QRO6HvN+vEzbURoJSPx8kPK9s+tL9MRfaz83id4JRnbE1AMqr H10EQw0cNg0127GZuEu7c/acqX49nj21sLbzThNtEf7sUOJELjVfo9kiA+J7W0C3AeT7 ulMnjgB3C70ZMJLAEoxPuWKXrNNbJSELEbOh9OrYQpELY+VihInkTZqoczcGUR3CiC2L bvZXnv5ePHqlUBBL/3ARy0fQy9O3F3BPUvIq5kRml7gtz//DIzoL39C50xhDB+IvSgyo Rj21GDuR6kPZ7AnmQtsKMo2znOe/6azpYihgPY4xEw8hbnP4B+VDoz/Yj5jR2qjdtBVG glNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=KYSvtCap; 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 1si1334745plp.114.2019.02.04.15.18.25; Mon, 04 Feb 2019 15:18:40 -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=KYSvtCap; 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 S1728311AbfBDWv0 (ORCPT + 99 others); Mon, 4 Feb 2019 17:51:26 -0500 Received: from vern.gendns.com ([98.142.107.122]:37690 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727975AbfBDWv0 (ORCPT ); Mon, 4 Feb 2019 17:51:26 -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=Zqg6PQDYEksqf7XsBp5pfxKN6SfqgMCc7RZIl+8gYLU=; b=KYSvtCapND8J38JXa8jSp5+cEu RD+tfR/9XC75AAHmof/kGbWSYW//7vdOPkMnTT9HwecO31VHFow4c3dBZqLPouy61+gN23+RjaQzZ 6ZsByyZny117JvBk2Q00WGSGWP3DDAmDhQ7uoWghPn5vs/rwfBne8qbANybKF6mDLh81idIwoN0iZ FFapBClZSA7na3z6qLWrzN1fs83J6DYU7T4MMdLODl+ED3Qbq+BYMe3sudN5nlxQAbRv60N3jtsKC 1WvsREGfRkvFidn+MR297tmpeYES0nqAsG7SHqJxN8c6odyiyjME0u+oPnWaxLPv85cq150XiuEV7 W/aYXDpg==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:58572 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 1gqn1p-0007Zg-3M; Mon, 04 Feb 2019 17:47:49 -0500 Subject: Re: [PATCH 10/35] ARM: davinci: aintc: wrap davinci_irq_init() with a helper 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-11-brgl@bgdev.pl> From: David Lechner Message-ID: Date: Mon, 4 Feb 2019 16:51:22 -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-11-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 davinci_irq_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 One bikeshed comment: I would use xxx_init_irq instead of xxx_init_irqs so that the function names exactly match the .init_irq field.