Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 831B6C433EF for ; Tue, 16 Nov 2021 11:56:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5F49B60ED3 for ; Tue, 16 Nov 2021 11:56:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235675AbhKPL7w (ORCPT ); Tue, 16 Nov 2021 06:59:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235574AbhKPL7j (ORCPT ); Tue, 16 Nov 2021 06:59:39 -0500 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0065C061746 for ; Tue, 16 Nov 2021 03:56:41 -0800 (PST) Received: by mail-wr1-x42f.google.com with SMTP id w29so36975910wra.12 for ; Tue, 16 Nov 2021 03:56:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=tykKfzZRZs8W8LB8dDzw5i3CD5rhrU5zWD1WHrFGu6I=; b=PdFx29zeOFtKWYfkjdFXu4FzngjheOfZFBdUnmdD06TBxqyhoP6ZiWipqG8zf5x9K5 Zk/t5mwNF7kmhQ+x98VH6LWeOs4ba9wDFEdZQ4vAan0vTm4HNF+cH013ecdNxfv3/w2y Y/G/U+1hr4yNWe0jyu2HzBrH/b1OxP8Nw/r7bgQjDI3vq0eGP+tuYkgALS0YS7LiCsYv /4z7Oi7UR2jJs2oMtIIDa8MTnoL+UKxaoccn2YEkC3gXvBxL67XBhKJOc6yxemkZRcnN c24vxX82rD3hgOG4IxBEfTTcuVB/r/mUJvyZIsuMLNQDdFjNiFJbaq5WVtrksKSDpiAv DWbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=tykKfzZRZs8W8LB8dDzw5i3CD5rhrU5zWD1WHrFGu6I=; b=BR4+sNgQAH1KuPT/DQC/QmluyHQSt3JeUnl3Nftba5lle4v6EcSuP8fo0lr9Oh4R3G DvA0MbqJuAtUCV0A/hDQJ3cGpBp7Iudnb+B+jXsT4UFUWZfXJtb/5rO2lqgz2iQB4IGi vfPXY8J+PtpsplIndelHcE2Uu/1brUcRKZMpheCeoG4hV378HhYmzLztIO2VsVmXBWYo Oib2l3fJiftL9EZ+sbks/3wD4NBoPdrYW0tO93I5a/0SUQtfyWa2lAEiZyQk0RCHYZr9 5ypHaTpnoCN5h2U3yAPiJL7I42N2Eo1khHUOa5V9OBOGYVtK4wvxlyhkwIKGXW1FNRCU C07g== X-Gm-Message-State: AOAM5319poWpcxZbGixT3tTvhLEqX9Lba9jwu6xcumypTn4zuwV+1hg/ Wl5jXBW1P4TSdwaIzg+F933OHA== X-Google-Smtp-Source: ABdhPJx+DsVIlJi3qFUEgUdKvjqrCDE8LrH3TXHbTDv/qIgV8UK1fSvVa2mKOiRmfZXNdh/uzdkPpw== X-Received: by 2002:a5d:6c6b:: with SMTP id r11mr8549336wrz.231.1637063800263; Tue, 16 Nov 2021 03:56:40 -0800 (PST) Received: from maple.lan (cpc141216-aztw34-2-0-cust174.18-1.cable.virginm.net. [80.7.220.175]) by smtp.gmail.com with ESMTPSA id m125sm2157270wmm.39.2021.11.16.03.56.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Nov 2021 03:56:39 -0800 (PST) Date: Tue, 16 Nov 2021 11:56:37 +0000 From: Daniel Thompson To: Marijn Suijten Cc: phone-devel@vger.kernel.org, Andy Gross , Bjorn Andersson , Rob Herring , Lee Jones , Jingoo Han , ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Jami Kettunen , Pavel Dubrova , Kiran Gunda , Bryan Wu , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org Subject: Re: [PATCH v3 3/9] backlight: qcom-wled: Use cpu_to_le16 macro to perform conversion Message-ID: <20211116115637.22v2pluxkni36ehr@maple.lan> References: <20211115203459.1634079-1-marijn.suijten@somainline.org> <20211115203459.1634079-4-marijn.suijten@somainline.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211115203459.1634079-4-marijn.suijten@somainline.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 15, 2021 at 09:34:53PM +0100, Marijn Suijten wrote: > The kernel already provides appropriate primitives to perform endianness > conversion which should be used in favour of manual bit-wrangling. > > Signed-off-by: Marijn Suijten > Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Daniel Thompson Daniel.