linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] soc/tegra: remove duplicated function declaration
@ 2018-11-13 17:51 Bo Yan
  2018-11-13 19:02 ` Jon Hunter
  2018-11-13 19:25 ` Thierry Reding
  0 siblings, 2 replies; 3+ messages in thread
From: Bo Yan @ 2018-11-13 17:51 UTC (permalink / raw)
  To: thierry.reding, jonathanh; +Cc: linux-tegra, linux-kernel, Bo Yan

The function tegra_read_chipid is declared twice in fuse.h. Remove
the redundant declaration.

Signed-off-by: Bo Yan <byan@nvidia.com>
---
 include/soc/tegra/fuse.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/soc/tegra/fuse.h b/include/soc/tegra/fuse.h
index 9b6ea0c..8fb2f8a 100644
--- a/include/soc/tegra/fuse.h
+++ b/include/soc/tegra/fuse.h
@@ -60,7 +60,6 @@ struct tegra_sku_info {
 
 u32 tegra_read_straps(void);
 u32 tegra_read_ram_code(void);
-u32 tegra_read_chipid(void);
 int tegra_fuse_readl(unsigned long offset, u32 *value);
 
 extern struct tegra_sku_info tegra_sku_info;
-- 
2.7.4


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

* Re: [PATCH] soc/tegra: remove duplicated function declaration
  2018-11-13 17:51 [PATCH] soc/tegra: remove duplicated function declaration Bo Yan
@ 2018-11-13 19:02 ` Jon Hunter
  2018-11-13 19:25 ` Thierry Reding
  1 sibling, 0 replies; 3+ messages in thread
From: Jon Hunter @ 2018-11-13 19:02 UTC (permalink / raw)
  To: Bo Yan, thierry.reding; +Cc: linux-tegra, linux-kernel


On 13/11/2018 17:51, Bo Yan wrote:
> The function tegra_read_chipid is declared twice in fuse.h. Remove
> the redundant declaration.
> 
> Signed-off-by: Bo Yan <byan@nvidia.com>
> ---
>  include/soc/tegra/fuse.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/include/soc/tegra/fuse.h b/include/soc/tegra/fuse.h
> index 9b6ea0c..8fb2f8a 100644
> --- a/include/soc/tegra/fuse.h
> +++ b/include/soc/tegra/fuse.h
> @@ -60,7 +60,6 @@ struct tegra_sku_info {
>  
>  u32 tegra_read_straps(void);
>  u32 tegra_read_ram_code(void);
> -u32 tegra_read_chipid(void);
>  int tegra_fuse_readl(unsigned long offset, u32 *value);
>  
>  extern struct tegra_sku_info tegra_sku_info;

Acked-by: Jon Hunter <jonathanh@nvidia.com>

Cheers
Jon

-- 
nvpublic

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

* Re: [PATCH] soc/tegra: remove duplicated function declaration
  2018-11-13 17:51 [PATCH] soc/tegra: remove duplicated function declaration Bo Yan
  2018-11-13 19:02 ` Jon Hunter
@ 2018-11-13 19:25 ` Thierry Reding
  1 sibling, 0 replies; 3+ messages in thread
From: Thierry Reding @ 2018-11-13 19:25 UTC (permalink / raw)
  To: Bo Yan; +Cc: jonathanh, linux-tegra, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 311 bytes --]

On Tue, Nov 13, 2018 at 09:51:05AM -0800, Bo Yan wrote:
> The function tegra_read_chipid is declared twice in fuse.h. Remove
> the redundant declaration.
> 
> Signed-off-by: Bo Yan <byan@nvidia.com>
> ---
>  include/soc/tegra/fuse.h | 1 -
>  1 file changed, 1 deletion(-)

Applied, thanks.

Thierry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2018-11-13 19:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-13 17:51 [PATCH] soc/tegra: remove duplicated function declaration Bo Yan
2018-11-13 19:02 ` Jon Hunter
2018-11-13 19:25 ` Thierry Reding

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).