dm: syscon: typo alerady

* Fix typo: %s/alerady/already/.
* Add missing 'the'.
* Reformat a comment.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Heinrich Schuchardt 2020-08-22 07:16:26 +02:00 committed by Simon Glass
parent 76de29fc4f
commit 36da81e0c1

View File

@ -18,12 +18,16 @@
/*
* Caution:
* This API requires the given device has alerady been bound to syscon driver.
* For example,
* This API requires the given device has already been bound to the syscon
* driver. For example,
*
* compatible = "syscon", "simple-mfd";
*
* works, but
*
* compatible = "simple-mfd", "syscon";
* does not. The behavior is different from Linux.
*
* does not. The behavior is different from Linux.
*/
struct regmap *syscon_get_regmap(struct udevice *dev)
{