* [PATCH -tip] x86: i8257.c cleanup
@ 2009-03-14 14:43 Jaswinder Singh Rajput
2009-03-14 14:51 ` Jaswinder Singh Rajput
0 siblings, 1 reply; 2+ messages in thread
From: Jaswinder Singh Rajput @ 2009-03-14 14:43 UTC (permalink / raw)
To: Ingo Molnar, x86 maintainers, LKML
Subject: [PATCH] x86: i8257.c cleanup
Impact: cleanup
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
---
arch/x86/kernel/i8237.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/i8237.c b/arch/x86/kernel/i8237.c
index b42ca69..044ca09 100644
--- a/arch/x86/kernel/i8237.c
+++ b/arch/x86/kernel/i8237.c
@@ -9,9 +9,8 @@
* your option) any later version.
*/
-#include <linux/init.h>
#include <linux/sysdev.h>
-
+#include <linux/init.h>
#include <asm/dma.h>
/*
@@ -64,8 +63,10 @@ static struct sys_device device_i8237A = {
static int __init i8237A_init_sysfs(void)
{
int error = sysdev_class_register(&i8237_sysdev_class);
+
if (!error)
error = sysdev_register(&device_i8237A);
+
return error;
}
device_initcall(i8237A_init_sysfs);
--
1.6.0.6
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH -tip] x86: i8257.c cleanup
2009-03-14 14:43 [PATCH -tip] x86: i8257.c cleanup Jaswinder Singh Rajput
@ 2009-03-14 14:51 ` Jaswinder Singh Rajput
0 siblings, 0 replies; 2+ messages in thread
From: Jaswinder Singh Rajput @ 2009-03-14 14:51 UTC (permalink / raw)
To: Ingo Molnar; +Cc: x86 maintainers, LKML
On Sat, 2009-03-14 at 20:13 +0530, Jaswinder Singh Rajput wrote:
> Subject: [PATCH] x86: i8257.c cleanup
>
Oops, typo
It is [PATCH] x86: i8237.c cleanup
> Impact: cleanup
>
> Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
> ---
> arch/x86/kernel/i8237.c | 5 +++--
> 1 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/arch/x86/kernel/i8237.c b/arch/x86/kernel/i8237.c
> index b42ca69..044ca09 100644
> --- a/arch/x86/kernel/i8237.c
> +++ b/arch/x86/kernel/i8237.c
> @@ -9,9 +9,8 @@
> * your option) any later version.
> */
>
> -#include <linux/init.h>
> #include <linux/sysdev.h>
> -
> +#include <linux/init.h>
> #include <asm/dma.h>
>
> /*
> @@ -64,8 +63,10 @@ static struct sys_device device_i8237A = {
> static int __init i8237A_init_sysfs(void)
> {
> int error = sysdev_class_register(&i8237_sysdev_class);
> +
> if (!error)
> error = sysdev_register(&device_i8237A);
> +
> return error;
> }
> device_initcall(i8237A_init_sysfs);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-14 14:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-14 14:43 [PATCH -tip] x86: i8257.c cleanup Jaswinder Singh Rajput
2009-03-14 14:51 ` Jaswinder Singh Rajput
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox