Re: [PATCH] spi: spi-altera: Use of_match_ptr

2012-08-15 Thread Mark Brown
On Wed, Aug 15, 2012 at 09:30:28AM +0200, Tobias Klauser wrote: > Instead of having to define the match table to NULL if CONFIG_OF isn't > set, use the of_match_ptr() macro which will do this for us. Applied, thanks. -- L

Re: [PATCH] spi: spi-altera: Use of_match_ptr

2012-08-15 Thread Mark Brown
On Wed, Aug 15, 2012 at 08:09:07AM -0500, Rob Herring wrote: > On 08/15/2012 02:30 AM, Tobias Klauser wrote: > > Instead of having to define the match table to NULL if CONFIG_OF isn't > > set, use the of_match_ptr() macro which will do this for us. > > > > Signed-off-by: Tobias Klauser > Acked-b

Re: [PATCH] spi: spi-altera: Use of_match_ptr

2012-08-15 Thread Rob Herring
On 08/15/2012 02:30 AM, Tobias Klauser wrote: > Instead of having to define the match table to NULL if CONFIG_OF isn't > set, use the of_match_ptr() macro which will do this for us. > > Signed-off-by: Tobias Klauser Acked-by: Rob Herring Adding Mark B. as he is helping Grant out with spi. Rob

[PATCH] spi: spi-altera: Use of_match_ptr

2012-08-15 Thread Tobias Klauser
Instead of having to define the match table to NULL if CONFIG_OF isn't set, use the of_match_ptr() macro which will do this for us. Signed-off-by: Tobias Klauser --- drivers/spi/spi-altera.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/spi/spi-altera.c b/dr