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>
This commit is contained in:
parent
901e0a8f14
commit
c988b7c5fc
@ -178,6 +178,7 @@ static const struct phy_ops gpio_usb_ops = {
|
|||||||
/**
|
/**
|
||||||
* phy_mdm6600_cmd() - send a command request to mdm6600
|
* phy_mdm6600_cmd() - send a command request to mdm6600
|
||||||
* @ddata: device driver data
|
* @ddata: device driver data
|
||||||
|
* @val: value of cmd to be set
|
||||||
*
|
*
|
||||||
* Configures the three command request GPIOs to the specified value.
|
* Configures the three command request GPIOs to the specified value.
|
||||||
*/
|
*/
|
||||||
@ -194,7 +195,7 @@ static void phy_mdm6600_cmd(struct phy_mdm6600 *ddata, int val)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* phy_mdm6600_status() - read mdm6600 status lines
|
* phy_mdm6600_status() - read mdm6600 status lines
|
||||||
* @ddata: device driver data
|
* @work: work structure
|
||||||
*/
|
*/
|
||||||
static void phy_mdm6600_status(struct work_struct *work)
|
static void phy_mdm6600_status(struct work_struct *work)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user