[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.02.1105241600180.3078@ionos>
Date: Tue, 24 May 2011 16:01:43 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: Ralf Baechle <ralf@...ux-mips.org>
cc: Pengfei Zhang <zoppof.zhang@...il.com>, linux-mips@...ux-mips.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] MIPS:i8259.c remove resume and shutdown to syscore_ops
On Tue, 24 May 2011, Ralf Baechle wrote:
> On Tue, May 24, 2011 at 08:19:18PM +0800, Pengfei Zhang wrote:
>
> > Remove the resume and shutdown of i8259A from the sysdev_class
> > to the syscore_ops since these members had removed from the
> > structure sysdev_class.
>
> I don't see why one would want to want to first call register_syscore_ops
> then sysdev_class_register and sysdev_register?
The whole point of syscore_ops is to get rid of the sysdev which had
only one purpose: handing the suspend/resume ops in. The resulting
sysfs entry is completely useless.
Thanks,
tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists