linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] phy: remove documentation of removed members of phy_device structure
@ 2016-03-10 12:58 LABBE Corentin
  2016-03-10 14:21 ` Andrew Lunn
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: LABBE Corentin @ 2016-03-10 12:58 UTC (permalink / raw)
  To: f.fainelli; +Cc: netdev, linux-kernel, LABBE Corentin

Commit e5a03bfd873c ("phy: Add an mdio_device structure") removed addr,
bus and dev member of the phy_device structure.
This patch remove the documentation about those members.

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
---
 include/linux/phy.h | 3 ---
 1 file changed, 3 deletions(-)

Changes since v1
- remove also documentation for dev and bus

diff --git a/include/linux/phy.h b/include/linux/phy.h
index d6f3641..2abd791 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -327,8 +327,6 @@ struct phy_c45_device_ids {
 /* phy_device: An instance of a PHY
  *
  * drv: Pointer to the driver for this PHY instance
- * bus: Pointer to the bus this PHY is on
- * dev: driver model device structure for this PHY
  * phy_id: UID for this device found during discovery
  * c45_ids: 802.3-c45 Device Identifers if is_c45.
  * is_c45:  Set to true if this phy uses clause 45 addressing.
@@ -338,7 +336,6 @@ struct phy_c45_device_ids {
  * suspended: Set to true if this phy has been suspended successfully.
  * state: state of the PHY for management purposes
  * dev_flags: Device-specific flags used by the PHY driver.
- * addr: Bus address of PHY
  * link_timeout: The number of timer firings to wait before the
  * giving up on the current attempt at acquiring a link
  * irq: IRQ number of the PHY's interrupt (-1 if none)
-- 
2.4.10

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] phy: remove documentation of removed members of phy_device structure
  2016-03-10 12:58 [PATCH v2] phy: remove documentation of removed members of phy_device structure LABBE Corentin
@ 2016-03-10 14:21 ` Andrew Lunn
  2016-03-10 17:53 ` Florian Fainelli
  2016-03-14  2:11 ` David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: Andrew Lunn @ 2016-03-10 14:21 UTC (permalink / raw)
  To: LABBE Corentin; +Cc: f.fainelli, netdev, linux-kernel

On Thu, Mar 10, 2016 at 01:58:58PM +0100, LABBE Corentin wrote:
> Commit e5a03bfd873c ("phy: Add an mdio_device structure") removed addr,
> bus and dev member of the phy_device structure.
> This patch remove the documentation about those members.
> 
> Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

Hi Corentin

Thanks for updating the patch with the extra removals.

       Andrew

> ---
>  include/linux/phy.h | 3 ---
>  1 file changed, 3 deletions(-)
> 
> Changes since v1
> - remove also documentation for dev and bus
> 
> diff --git a/include/linux/phy.h b/include/linux/phy.h
> index d6f3641..2abd791 100644
> --- a/include/linux/phy.h
> +++ b/include/linux/phy.h
> @@ -327,8 +327,6 @@ struct phy_c45_device_ids {
>  /* phy_device: An instance of a PHY
>   *
>   * drv: Pointer to the driver for this PHY instance
> - * bus: Pointer to the bus this PHY is on
> - * dev: driver model device structure for this PHY
>   * phy_id: UID for this device found during discovery
>   * c45_ids: 802.3-c45 Device Identifers if is_c45.
>   * is_c45:  Set to true if this phy uses clause 45 addressing.
> @@ -338,7 +336,6 @@ struct phy_c45_device_ids {
>   * suspended: Set to true if this phy has been suspended successfully.
>   * state: state of the PHY for management purposes
>   * dev_flags: Device-specific flags used by the PHY driver.
> - * addr: Bus address of PHY
>   * link_timeout: The number of timer firings to wait before the
>   * giving up on the current attempt at acquiring a link
>   * irq: IRQ number of the PHY's interrupt (-1 if none)
> -- 
> 2.4.10
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] phy: remove documentation of removed members of phy_device structure
  2016-03-10 12:58 [PATCH v2] phy: remove documentation of removed members of phy_device structure LABBE Corentin
  2016-03-10 14:21 ` Andrew Lunn
@ 2016-03-10 17:53 ` Florian Fainelli
  2016-03-14  2:11 ` David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2016-03-10 17:53 UTC (permalink / raw)
  To: LABBE Corentin; +Cc: netdev, linux-kernel

On 10/03/16 04:58, LABBE Corentin wrote:
> Commit e5a03bfd873c ("phy: Add an mdio_device structure") removed addr,
> bus and dev member of the phy_device structure.
> This patch remove the documentation about those members.
> 
> Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>

Acked-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] phy: remove documentation of removed members of phy_device structure
  2016-03-10 12:58 [PATCH v2] phy: remove documentation of removed members of phy_device structure LABBE Corentin
  2016-03-10 14:21 ` Andrew Lunn
  2016-03-10 17:53 ` Florian Fainelli
@ 2016-03-14  2:11 ` David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2016-03-14  2:11 UTC (permalink / raw)
  To: clabbe.montjoie; +Cc: f.fainelli, netdev, linux-kernel

From: LABBE Corentin <clabbe.montjoie@gmail.com>
Date: Thu, 10 Mar 2016 13:58:58 +0100

> Commit e5a03bfd873c ("phy: Add an mdio_device structure") removed addr,
> bus and dev member of the phy_device structure.
> This patch remove the documentation about those members.
> 
> Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>

Applied.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-14  2:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-10 12:58 [PATCH v2] phy: remove documentation of removed members of phy_device structure LABBE Corentin
2016-03-10 14:21 ` Andrew Lunn
2016-03-10 17:53 ` Florian Fainelli
2016-03-14  2:11 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).