pwm: pwm-mediatek: Beautify error messages text
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 14 Feb 2022 14:03:39 +0000 (15:03 +0100)
committerThierry Reding <thierry.reding@gmail.com>
Thu, 24 Feb 2022 13:56:51 +0000 (14:56 +0100)
commit4d690e508a69f420b9689ce6688b6ad0eb39c703
tree66979cb04b2b8610c9a08210744c05132e3b982e
parent446925f1d4ca9ff8c9e531498ddca4f47683e1ee
pwm: pwm-mediatek: Beautify error messages text

As a cherry-on-top cleanup, make error messages clearer to read
by changing instances of "clock: XXXX failed" to a more readable
"Failed to get XXXX clock". Also add "of" to unsupported period
error.

This is purely a cosmetic change; no "real" functional changes.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Macpaul Lin <macpaul.lin@mediatek.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-mediatek.c