soundwire: bus: Remove now outdated comments on no_pm IO
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Wed, 22 Mar 2023 16:49:46 +0000 (16:49 +0000)
committerVinod Koul <vkoul@kernel.org>
Wed, 12 Apr 2023 10:00:37 +0000 (15:30 +0530)
Things have moved more towards end drivers using the no_pm versions of
the IO functions. See commits:

commit 167790abb90f ("soundwire: export sdw_write/read_no_pm functions")
commit 62dc9f3f2fd0 ("soundwire: bus: export sdw_nwrite_no_pm and
                      sdw_nread_no_pm functions")

As such this comment is now misleading, so remove it.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20230322164948.566962-1-ckeepax@opensource.cirrus.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/bus.c

index b6aca59c313003f7e4edb536571f05e6270a8b89..3c67266f948340971ae546e1c472cec3062759b9 100644 (file)
@@ -384,9 +384,6 @@ int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave,
 
 /*
  * Read/Write IO functions.
- * no_pm versions can only be called by the bus, e.g. while enumerating or
- * handling suspend-resume sequences.
- * all clients need to use the pm versions
  */
 
 int sdw_nread_no_pm(struct sdw_slave *slave, u32 addr, size_t count, u8 *val)