[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMFSARfv6=BMS3Uvg-S8fLRztZzccBNpKBxRp-Jp4-Jt5ZARGw@mail.gmail.com>
Date: Mon, 4 Mar 2024 18:49:02 -0800
From: Jameson Thies <jthies@...gle.com>
To: Prashant Malani <pmalani@...omium.org>
Cc: heikki.krogerus@...ux.intel.com, linux-usb@...r.kernel.org,
bleung@...gle.com, abhishekpandit@...omium.org, andersson@...nel.org,
dmitry.baryshkov@...aro.org, fabrice.gasnier@...s.st.com,
gregkh@...uxfoundation.org, hdegoede@...hat.com, neil.armstrong@...aro.org,
rajaram.regupathy@...el.com, saranya.gopal@...el.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 3/4] usb: typec: ucsi: Register SOP/SOP' Discover
Identity Responses
> There is some repetition here, both with the "if" block and the
> UCSI command itself. You can factor out the command setup code into a separate
> function (it can take offset and size as arguments). Then, factor out
> common parts in the "if" block. For example:
Hi Prashant,
thank you for the feedback. I'll upload a v4 series to resolve this redundancy.
Powered by blists - more mailing lists