Re: [PATCH 1/3] [MTD] physmap.c: Check return of platform_device_register()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Lennert Buytenhek
Date: Saturday, September 13, 2008 - 3:45 am

On Fri, Sep 12, 2008 at 11:32:58PM -0700, Zev Weiss wrote:


I don't think you want the registration of the physmap driver to fail
if the compat platform device fails to register.

One reason that the compat platform device can fail to register can be
that there is already a non-compat platform device for the compat flash
chip, and in that case I don't think you want to fail the driver init
(while leaving the physmap_flash_driver registered, too!).
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/3] [MTD] physmap.c: Check return of platform_ ..., Lennert Buytenhek, (Sat Sep 13, 3:45 am)