Re: [PATCH 1/3] spi_topcliff_pch: support new device ML7213

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Grant Likely
Date: Tuesday, December 28, 2010 - 11:49 pm

On Mon, Dec 27, 2010 at 08:23:45PM +0900, Tomoya MORINAGA wrote:

Hi Tomoya,

As previously discussed on this list, I would like to see support for
multiple bus instances implemented differently.  Rather than storing
the spi_master instances in an array in the pci device private data,
the pci device should register a separate platform_device for each spi
bus instance, and each of those bus instances should get bound to a
topcliff_spi_bus driver which doesn't need to have any special
knowledge about how many spi_master instances actually exist.

Basically, the way it is implemented in this patch isn't taking
advantage of the infrastructure and instance management provided by
the driver model.

g.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/3] spi_topcliff_pch: support new device ML7213, Tomoya MORINAGA, (Mon Dec 27, 4:23 am)
Re: [PATCH 1/3] spi_topcliff_pch: support new device ML7213, Grant Likely, (Tue Dec 28, 11:49 pm)