Re: [PATCH 5/5] arm: omap: Proper cleanups for omap_device
From: Greg Kroah-Hartman
Date: Tue Aug 06 2013 - 06:13:11 EST
On Tue, Aug 06, 2013 at 12:37:25PM +0300, Pantelis Antoniou wrote:
> > I don't like this at all, sorry.
> >
>
> Don't shoot the messenger please...
>
> This is all about fixing a crash without messing too many things.
I understand, it's not your fault at all.
> > And I was waiting for the day when people started to finally remove
> > platform devices from the system, I always thought it would never work
> > properly. Good luck with this, I think you have a lot of work ahead of
> > yourself...
> >
>
> I know.
>
> Platform device removal is the wild-wild west...
>
> If I had to make a wish, would be to kill platform_device completely and
> integrate all it's functionality in the the vanilla device.
YES!!!!
> What exactly is a platform device anyway?
Originally it was a "something that wasn't connected to a bus, but just
had memory-mapped i/o." Like the PS2 keyboard controller.
Embedded systems got ahold of this and went to town, and made everything
a platform device because they could, and no one was paying attention.
Then OF came along and used it as well, and you know the rest...
I think we need to get the ACPI and OF people, and me, in a room
together at the kernel summit and not let us out until we have this all
worked out.
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/