mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Antony Pavlov <antonynpavlov@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] phy: drop of_phy_simple_xlate() stub
Date: Wed, 13 May 2020 09:47:24 +0200	[thread overview]
Message-ID: <20200513074724.GN5877@pengutronix.de> (raw)
In-Reply-To: <20200512174511.9702-1-antonynpavlov@gmail.com>

On Tue, May 12, 2020 at 08:45:11PM +0300, Antony Pavlov wrote:
> The function of_phy_simple_xlate() is not used.
> 
> Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
> ---
>  include/linux/phy/phy.h | 8 --------
>  1 file changed, 8 deletions(-)

Applied, thanks

Sascha

> 
> diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h
> index e2fe42d90e..679ce6e420 100644
> --- a/include/linux/phy/phy.h
> +++ b/include/linux/phy/phy.h
> @@ -139,8 +139,6 @@ struct phy *of_phy_get_by_phandle(struct device_d *dev, const char *phandle,
>  				  u8 index);
>  void phy_put(struct phy *phy);
>  struct phy *of_phy_get(struct device_node *np, const char *con_id);
> -struct phy *of_phy_simple_xlate(struct device_d *dev,
> -	struct of_phandle_args *args);
>  struct phy *phy_create(struct device_d *dev, struct device_node *node,
>  		       const struct phy_ops *ops);
>  void phy_destroy(struct phy *phy);
> @@ -215,12 +213,6 @@ static inline struct phy *of_phy_get(struct device_node *np, const char *con_id)
>  	return ERR_PTR(-ENOSYS);
>  }
>  
> -static inline struct phy *of_phy_simple_xlate(struct device_d *dev,
> -	struct of_phandle_args *args)
> -{
> -	return ERR_PTR(-ENOSYS);
> -}
> -
>  static inline struct phy *phy_create(struct device_d *dev,
>  				     struct device_node *node,
>  				     const struct phy_ops *ops)
> -- 
> 2.26.2
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2020-05-13  7:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-12 17:45 Antony Pavlov
2020-05-13  7:47 ` Sascha Hauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200513074724.GN5877@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=antonynpavlov@gmail.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox