Re: [PATCH 6/6] Xilinxfb: add of_platform bus binding

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Grant Likely <grant.likely@...>
Cc: <linux-kernel@...>, <linux-fbdev-devel@...>, <akonovalov@...>, <linuxppc@...>, <adaplas@...>
Date: Monday, October 1, 2007 - 12:42 pm

2007/10/2, Grant Likely <grant.likely@secretlab.ca>:


Is it better to add error handling for platform_driver_register()?

    rc = platform_driver_register(&xilinxfb_platform_driver);
    if (rc)
        xilinxfb_of_unregister();

    return rc;


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

Messages in current thread:
Re: [Linux-fbdev-devel] [PATCH 0/6] Patch series to add of_p..., Antonino A. Daplas, (Tue Oct 2, 8:15 pm)
Re: [Linux-fbdev-devel] [PATCH 0/6] Patch series to add of_p..., Antonino A. Daplas, (Tue Oct 9, 1:04 am)
Re: [Linux-fbdev-devel] [PATCH 0/6] Patch series to add of_p..., Antonino A. Daplas, (Tue Oct 9, 5:06 pm)
[PATCH 6/6] Xilinxfb: add of_platform bus binding, Grant Likely, (Mon Oct 1, 11:57 am)
Re: [PATCH 6/6] Xilinxfb: add of_platform bus binding, Andrei Konovalov, (Thu Oct 4, 8:11 am)
Re: [PATCH 6/6] Xilinxfb: add of_platform bus binding, Akinobu Mita, (Mon Oct 1, 12:42 pm)
Re: [PATCH 6/6] Xilinxfb: add of_platform bus binding, Grant Likely, (Mon Oct 1, 12:46 pm)