]> Gentwo Git Trees - linux/.git/commit
phy: exynos5-usbdrd: make phy_isol() take a bool for clarity
authorAndré Draszik <andre.draszik@linaro.org>
Tue, 7 May 2024 14:14:46 +0000 (15:14 +0100)
committerVinod Koul <vkoul@kernel.org>
Wed, 12 Jun 2024 11:17:28 +0000 (16:47 +0530)
commitf2b6fc4d5c9793c556412e9a8ac122670a0d8dcb
tree259d40b43547729e8f3355ab30544df9ec7705cc
parent27f3d3f6d87f650cc6b3ea08335dea749f1b04aa
phy: exynos5-usbdrd: make phy_isol() take a bool for clarity

on / not on is just a boolean flag and is a bit misleading as currently
on==1 means to turn off the power, and on==0 to turn power on.

Rename the flag and make it a bool to avoid confusion of future readers
of this code. No functional change.

While at it, fix a whitespace issue in nearby comment.

No functional change.

Signed-off-by: André Draszik <andre.draszik@linaro.org>
Reviewed-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://lore.kernel.org/r/20240507-samsung-usb-phy-fixes-v1-3-4ccba5afa7cc@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/samsung/phy-exynos5-usbdrd.c