* [PATCH] MIPS: malta: remove unused header file
@ 2020-09-20 21:08 Thomas Bogendoerfer
2020-09-21 20:30 ` Thomas Bogendoerfer
2020-09-22 7:49 ` Philippe Mathieu-Daudé
0 siblings, 2 replies; 3+ messages in thread
From: Thomas Bogendoerfer @ 2020-09-20 21:08 UTC (permalink / raw)
To: linux-mips, linux-kernel
Remove unused heasder file asm/mach-malta/malta-pm.h.
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
---
arch/mips/include/asm/mach-malta/malta-pm.h | 33 -----------------------------
1 file changed, 33 deletions(-)
delete mode 100644 arch/mips/include/asm/mach-malta/malta-pm.h
diff --git a/arch/mips/include/asm/mach-malta/malta-pm.h b/arch/mips/include/asm/mach-malta/malta-pm.h
deleted file mode 100644
index 2a5146d79313..000000000000
--- a/arch/mips/include/asm/mach-malta/malta-pm.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
-/*
- * Copyright (C) 2014 Imagination Technologies
- * Author: Paul Burton <paul.burton@mips.com>
- */
-
-#ifndef __ASM_MIPS_MACH_MALTA_PM_H__
-#define __ASM_MIPS_MACH_MALTA_PM_H__
-
-#include <asm/mips-boards/piix4.h>
-
-#ifdef CONFIG_MIPS_MALTA_PM
-
-/**
- * mips_pm_suspend - enter a suspend state
- * @state: the state to enter, one of PIIX4_FUNC3IO_PMCNTRL_SUS_TYP_*
- *
- * Enters a suspend state via the Malta's PIIX4. If the state to be entered
- * is one which loses context (eg. SOFF) then this function will never
- * return.
- */
-extern int mips_pm_suspend(unsigned state);
-
-#else /* !CONFIG_MIPS_MALTA_PM */
-
-static inline int mips_pm_suspend(unsigned state)
-{
- return -EINVAL;
-}
-
-#endif /* !CONFIG_MIPS_MALTA_PM */
-
-#endif /* __ASM_MIPS_MACH_MALTA_PM_H__ */
--
2.16.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] MIPS: malta: remove unused header file
2020-09-20 21:08 [PATCH] MIPS: malta: remove unused header file Thomas Bogendoerfer
@ 2020-09-21 20:30 ` Thomas Bogendoerfer
2020-09-22 7:49 ` Philippe Mathieu-Daudé
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Bogendoerfer @ 2020-09-21 20:30 UTC (permalink / raw)
To: linux-mips, linux-kernel
On Sun, Sep 20, 2020 at 11:08:34PM +0200, Thomas Bogendoerfer wrote:
> Remove unused heasder file asm/mach-malta/malta-pm.h.
>
> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
> ---
> arch/mips/include/asm/mach-malta/malta-pm.h | 33 -----------------------------
> 1 file changed, 33 deletions(-)
> delete mode 100644 arch/mips/include/asm/mach-malta/malta-pm.h
applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] MIPS: malta: remove unused header file
2020-09-20 21:08 [PATCH] MIPS: malta: remove unused header file Thomas Bogendoerfer
2020-09-21 20:30 ` Thomas Bogendoerfer
@ 2020-09-22 7:49 ` Philippe Mathieu-Daudé
1 sibling, 0 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-09-22 7:49 UTC (permalink / raw)
To: Thomas Bogendoerfer; +Cc: open list:BROADCOM NVRAM DRIVER, open list
On Sun, Sep 20, 2020 at 11:09 PM Thomas Bogendoerfer
<tsbogend@alpha.franken.de> wrote:
>
> Remove unused heasder file asm/mach-malta/malta-pm.h.
Typo "header".
>
> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
> ---
> arch/mips/include/asm/mach-malta/malta-pm.h | 33 -----------------------------
> 1 file changed, 33 deletions(-)
> delete mode 100644 arch/mips/include/asm/mach-malta/malta-pm.h
>
> diff --git a/arch/mips/include/asm/mach-malta/malta-pm.h b/arch/mips/include/asm/mach-malta/malta-pm.h
> deleted file mode 100644
> index 2a5146d79313..000000000000
> --- a/arch/mips/include/asm/mach-malta/malta-pm.h
> +++ /dev/null
> @@ -1,33 +0,0 @@
> -/* SPDX-License-Identifier: GPL-2.0-or-later */
> -/*
> - * Copyright (C) 2014 Imagination Technologies
> - * Author: Paul Burton <paul.burton@mips.com>
> - */
> -
> -#ifndef __ASM_MIPS_MACH_MALTA_PM_H__
> -#define __ASM_MIPS_MACH_MALTA_PM_H__
> -
> -#include <asm/mips-boards/piix4.h>
> -
> -#ifdef CONFIG_MIPS_MALTA_PM
> -
> -/**
> - * mips_pm_suspend - enter a suspend state
> - * @state: the state to enter, one of PIIX4_FUNC3IO_PMCNTRL_SUS_TYP_*
> - *
> - * Enters a suspend state via the Malta's PIIX4. If the state to be entered
> - * is one which loses context (eg. SOFF) then this function will never
> - * return.
> - */
> -extern int mips_pm_suspend(unsigned state);
> -
> -#else /* !CONFIG_MIPS_MALTA_PM */
> -
> -static inline int mips_pm_suspend(unsigned state)
> -{
> - return -EINVAL;
> -}
> -
> -#endif /* !CONFIG_MIPS_MALTA_PM */
> -
> -#endif /* __ASM_MIPS_MACH_MALTA_PM_H__ */
> --
> 2.16.4
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-09-22 7:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-20 21:08 [PATCH] MIPS: malta: remove unused header file Thomas Bogendoerfer
2020-09-21 20:30 ` Thomas Bogendoerfer
2020-09-22 7:49 ` Philippe Mathieu-Daudé
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.