Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp237285pxb; Thu, 12 Nov 2020 02:27:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJwtfb+Juz16dIECgSuw8jVWPgMbAlDsiML3AfiG6yD1Z7EqutMA4h0yDbGGxRLgDiNPW7lt X-Received: by 2002:a17:906:13d4:: with SMTP id g20mr29085368ejc.206.1605176853854; Thu, 12 Nov 2020 02:27:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605176853; cv=none; d=google.com; s=arc-20160816; b=lmNZtLhovAcvIe4p2dly5gwtvNYIMHnsgWCHV+kgSIrXaekWCHEZ/srnZGYQCnFeiv 4oVkkOKdWshh8chTVZGMoJ1LcUw5jdNcwkAAMZNsUXs0UIRPY7BUB+H95RghDAiTSbqH PJRQzPAJYE19brCZfQpMF6y5XbSTteoNrI+O+8pSVhM1vxYcG5zYqA6gaEO3YroONZzQ noGYXfUxyQ9lodX4Zl8FOoWLkWTuHGLQE5f80woYzDXtd8lijLGEOjdLXS/x9aVT5TzV zO1Qo5cNMVRtG+bWlY6i9ome/R4B+Uwnr5DFLSgFxyBSyFl/+zzU67JWEN2IIPjTbB3D 3wyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=tyAYMwBoO94zSnNWICk2qSAx2iWJtJnznqvRXYqPRaM=; b=VYScHayf69clIo8uOeDil6wAA6AWKzMz+OOth5ZDs1Wk9W78gGCKRikqMdvPIrsmK0 vpP+zgURhmI6RaK/5upsVF/YNhSudG8872MMyFTxvOwiizROiyRx992fypc9vZ7VqBc1 5ELRWJ+SZFPQVGDgznAnNvKwozJs+nJH9Ni/C90RhWCMLyeS+L5gs48B4vp5YWewtra1 wURj6WUBTiXzlHaU5splUjQoydhDqn7FsJjgek6pXva/xcisQRZiGvDjBpKn7/CLI+Rf 7NyvtrS0LLRJ3ShvOUzyt9DEW7YSRdqICx/AkPRyCmkW/MZKAjPXQ7P+2HDCJ3b3Cm2Y Cb7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ou8ezO+5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oa19si3265505ejb.280.2020.11.12.02.27.09; Thu, 12 Nov 2020 02:27:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ou8ezO+5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727035AbgKLKZj (ORCPT + 99 others); Thu, 12 Nov 2020 05:25:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726061AbgKLKZi (ORCPT ); Thu, 12 Nov 2020 05:25:38 -0500 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4799EC0613D4 for ; Thu, 12 Nov 2020 02:25:38 -0800 (PST) Received: by mail-wr1-x443.google.com with SMTP id p8so5418384wrx.5 for ; Thu, 12 Nov 2020 02:25:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=tyAYMwBoO94zSnNWICk2qSAx2iWJtJnznqvRXYqPRaM=; b=ou8ezO+5QBh5CHQdmfDvJmrv4be9fTbsMUjxsj7mkyDlUVPgtPAH+eGV/rlufCJex7 VBiQhFfj9TjteTwixdDfydXwH1ygMk5qPj0iColGNm2/BguyjBU7wyHqnXeGLA+bdxQQ bBJ+5foNooOhzdNNd6nHc6V2DHXF+XSOrLU3KXG7dhxQA+Jz4TdnqMoVUy7GIyIAoTnW zatbHOfj6nbbbes9uB/3n/AbaX/SDUgj3CTOUXkfdNdYkKJ/SvHUxWle5FE76WJ6msH/ 1uUEbODslMu93vqf0vR5SzX0LN1hoZ0NDWp1pWXhRU8hWAwEzRizBSJNVumGXSo4PDot 5qDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=tyAYMwBoO94zSnNWICk2qSAx2iWJtJnznqvRXYqPRaM=; b=s1WnEUyK0NHK09cdcUayqJ8ZQtdN2lfGvPG3z5jdhG6++i6NvTl1xAOOH6GyJ9KAJS 6zYNTgO4bq4rUDdqDUm+grsl6NhBHVAmFlfymGg5p7tI5sa26a0CB4IQNBq0hW29MJGq l6IpSvaK6EB3C7GZEjDnUCF9alFa1Myhv4Gc9y2SG29T+vHxoEbXHp6tZ/bY3LSZVVtl fAi1sXu/pWmKUfP1I7UYnYNxVHSX1yYg16XOF4dcQI2FPl/5mSS1WQ1LD9QfHA1zFKUO NqKgXPYGfM9A8TMbP+M38B/3Fluis3lPpeIUfTTRMVWixx9Xkz9W1rL/2bOGdan4YA2j AVCg== X-Gm-Message-State: AOAM5326UFKkinomj4XfZYCI1CZreKCgbYsmJjak6FofNUEoZX0ojdA7 1/OQ3E8To4weGwubt1W3sh0OZJmrY8NfAg== X-Received: by 2002:adf:dc4b:: with SMTP id m11mr33378420wrj.328.1605176736545; Thu, 12 Nov 2020 02:25:36 -0800 (PST) Received: from ?IPv6:2a01:e34:ed2f:f020:6971:b700:3764:fa96? ([2a01:e34:ed2f:f020:6971:b700:3764:fa96]) by smtp.googlemail.com with ESMTPSA id t5sm6052882wmg.19.2020.11.12.02.25.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Nov 2020 02:25:35 -0800 (PST) Subject: Re: [PATCH v2] thermal: sun8i: Use bitmap API instead of open code To: Frank Lee , anarsoul@gmail.com, tiny.windzz@gmail.com, rui.zhang@intel.com, amitk@kernel.org, mripard@kernel.org, wens@csie.org Cc: linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20201109114624.23035-1-frank@allwinnertech.com> From: Daniel Lezcano Message-ID: Date: Thu, 12 Nov 2020 11:25:34 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201109114624.23035-1-frank@allwinnertech.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/11/2020 12:46, Frank Lee wrote: > From: Yangtao Li > > The bitmap_* API is the standard way to access data in the bitfield. > So convert irq_ack to return an unsigned long, and make things to use > bitmap API. > > Signed-off-by: Yangtao Li > --- > v2: > Make irq_ack to return an unsigned long > --- Applied, thanks -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog