Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

phy: mapphone-mdm6600: Add missing description for some structure fields

We get warning with W=1 build:
drivers/phy/motorola/phy-mapphone-mdm6600.c:185: warning: Function
parameter or member 'val' not described in 'phy_mdm6600_cmd'
drivers/phy/motorola/phy-mapphone-mdm6600.c:200: warning: Function
parameter or member 'work' not described in 'phy_mdm6600_status'

Fix that by adding description for 'val' and 'work'

Link: https://lore.kernel.org/r/20200708132809.265967-2-vkoul@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

+2 -1
+2 -1
drivers/phy/motorola/phy-mapphone-mdm6600.c
··· 178 178 /** 179 179 * phy_mdm6600_cmd() - send a command request to mdm6600 180 180 * @ddata: device driver data 181 + * @val: value of cmd to be set 181 182 * 182 183 * Configures the three command request GPIOs to the specified value. 183 184 */ ··· 195 194 196 195 /** 197 196 * phy_mdm6600_status() - read mdm6600 status lines 198 - * @ddata: device driver data 197 + * @work: work structure 199 198 */ 200 199 static void phy_mdm6600_status(struct work_struct *work) 201 200 {