Re: [PATCH] soc: qcom: socinfo: Don't print anything if nothing found

2021-01-18 Thread Sai Prakash Ranjan
On 2021-01-16 02:09, Stephen Boyd 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 Cc: Douglas Anderson Cc: Dmitry

Re: [PATCH] soc: qcom: socinfo: Don't print anything if nothing found

2021-01-15 Thread Doug Anderson
Hi, On Fri, Jan 15, 2021 at 12:39 PM Stephen Boyd 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 > Cc: D

[PATCH] soc: qcom: socinfo: Don't print anything if nothing found

2021-01-15 Thread Stephen Boyd
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 Cc: Douglas Anderson Cc: Dmitry Baryshkov Signed-off-by: Stephen Boyd ---