Messages in this thread | | | From | Doug Anderson <> | Date | Fri, 15 Jan 2021 16:57:31 -0800 | Subject | Re: [PATCH] soc: qcom: socinfo: Don't print anything if nothing found |
| |
Hi,
On Fri, Jan 15, 2021 at 12:39 PM Stephen Boyd <swboyd@chromium.org> wrote: > > Let's skip printing anything if there's nothing to see. This makes it so > the file length is 0 instead of 1, for the newline, and helps scripts > figure out if there's anything to see in these files. > > Cc: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org> > Cc: Douglas Anderson <dianders@chromium.org> > Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > Signed-off-by: Stephen Boyd <swboyd@chromium.org> > --- > drivers/soc/qcom/socinfo.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Douglas Anderson <dianders@chromium.org>
| |