lkml.org 
[lkml]   [2008]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: [PATCH 2/2] rtc: rtc-wm8350: Add support for WM8350 RTC
    On Mon, 27 Oct 2008 15:38:25 +0000 Mark Brown <broonie@opensource.wolfsonmicro.com> wrote:

    > This adds support for the RTC provided by the Wolfson Microelectronics
    > WM8350.
    >
    > This driver was originally written by Graeme Gregory and Liam Girdwood,
    > though it has been modified since then to update it to current mainline
    > coding standards and for API completeness.

    Graeme doesn't seem to get a mention anywhere in the driver?

    > Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
    > ---
    > Updated to use schedule_timeout_uninterruptible() as per Andrew's
    > suggestion.

    You also did this:

    --- a/drivers/rtc/rtc-wm8350.c~rtc-rtc-wm8350-add-support-for-wm8350-rtc-update
    +++ a/drivers/rtc/rtc-wm8350.c
    @@ -471,7 +471,7 @@ static int wm8350_rtc_probe(struct platf
    return 0;
    }

    -static int __exit wm8350_rtc_remove(struct platform_device *pdev)
    +static int __devexit wm8350_rtc_remove(struct platform_device *pdev)
    {
    struct wm8350 *wm8350 = platform_get_drvdata(pdev);
    struct wm8350_rtc *wm_rtc = &wm8350->rtc;
    @@ -500,16 +500,15 @@ static int __init wm8350_rtc_init(void)
    {
    return platform_driver_register(&wm8350_rtc_driver);
    }
    +module_init(wm8350_rtc_init);

    static void __exit wm8350_rtc_exit(void)
    {
    platform_driver_unregister(&wm8350_rtc_driver);
    }
    -
    -module_init(wm8350_rtc_init);
    module_exit(wm8350_rtc_exit);

    -MODULE_AUTHOR("Liam Girdwood");
    +MODULE_AUTHOR("Mark Brown <broonie@opensource.wolfsonmicro.com>");
    MODULE_DESCRIPTION("RTC driver WM8350");
    MODULE_LICENSE("GPL");
    MODULE_ALIAS("platform:wm8350-rtc");
    _




    \
     
     \ /
      Last update: 2008-10-28 07:25    [W:0.022 / U:1.880 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site