lkml.org 
[lkml]   [2022]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 06/13] phy: qcom-qmp-usb: clean up device-tree parsing
    From
    On 24/10/2022 13:06, Johan Hovold wrote:
    > Since the QMP driver split there will be at most a single child node so
    > drop the obsolete iteration construct.
    >
    > While at it, drop the verbose error logging that would have been
    > printed also on probe deferrals.
    >
    > Note that there's no need to check if there are additional child nodes
    > (the kernel is not a devicetree validator), but let's return an error if
    > there are no child nodes at all for now.
    >
    > Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
    > ---
    > drivers/phy/qualcomm/phy-qcom-qmp-usb.c | 40 ++++++++-----------------
    > 1 file changed, 12 insertions(+), 28 deletions(-)
    >

    Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

    --
    With best wishes
    Dmitry

    \
     
     \ /
      Last update: 2022-10-24 21:36    [W:2.165 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site