w1/ds2490: remove dump from ds_recv_status, pr_ to dev_XXX logging.
authorChristian Vogel <vogelchr@vogel.cx>
Thu, 24 Mar 2022 19:32:46 +0000 (20:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 Apr 2022 15:30:22 +0000 (17:30 +0200)
commitf76a9ae61628fe3bf182318054ddc9e6f501b1a1
treede4cd65728b805d922edc42d9ca14a2823fc8e59
parent5ac11fe03a0a83042d1a040dbce4fa2fb5521e23
w1/ds2490: remove dump from ds_recv_status, pr_ to dev_XXX logging.

Changed all remaining pr_XXX calls that write out debugging info into
dev_XXX calls, changed the needlessly verbose decoding of status bits
into dev_dbg(), so that it's supressed by the logging levels by default.

Forthermore the ds_recv_status function has a "dump" parameter that
enables extremely verbose logging, and that's used only once.
This has been factored out, and called explicitly at that one place.

Signed-off-by: Christian Vogel <vogelchr@vogel.cx>
Link: https://lore.kernel.org/r/20220324193246.16814-2-vogelchr@vogel.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/masters/ds2490.c