net: dsa: microchip: ksz9477: Fix spelling mistake "Enery" -> "Energy"

There is a spelling mistake in a dev_dbg message. Fix it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/all/20231026065408.1087824-1-colin.i.king@gmail.com/
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
Colin Ian King 2023-10-26 07:54:08 +01:00 committed by Jakub Kicinski
parent dfaed0e9f1
commit 796dc3c79d

View File

@ -84,7 +84,7 @@ static int ksz9477_handle_wake_reason(struct ksz_device *dev, int port)
dev_dbg(dev->dev, "Wake event on port %d due to:%s%s%s\n", port,
pme_status & PME_WOL_MAGICPKT ? " \"Magic Packet\"" : "",
pme_status & PME_WOL_LINKUP ? " \"Link Up\"" : "",
pme_status & PME_WOL_ENERGY ? " \"Enery detect\"" : "");
pme_status & PME_WOL_ENERGY ? " \"Energy detect\"" : "");
return ksz_pwrite8(dev, port, REG_PORT_PME_STATUS, pme_status);
}