On 23/06/2024 05:33, Daniel Golle wrote:> [...]
+
+ pm_runtime_set_autosuspend_delay(dev, RK_RNG_AUTOSUSPEND_DELAY);
+ pm_runtime_use_autosuspend(dev);
+ devm_pm_runtime_enable(dev);
+
+ ret = devm_hwrng_register(dev, &rk_rng->rng);
+ if (ret)
+ return dev_err_probe(&pdev->dev, ret, "Failed to register Rockchip hwrng\n");
+
+ dev_dbg(&pdev->dev, "Registered Rockchip hwrng\n");
Drop, it is not useful at all. Srsly, we had already long enough talk,
There is no single benefit of such debug statement. sysfs already
provides you this information. Simple entry/exit is provided by
tracing. You duplicate existing interfaces without any benefit, because
this prints nothing more.