Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1354849

Re: [PATCH 4/6] parisc: rtc: provide rtc_class_ops directly

From Alexandre Belloni <alexandre.belloni@free-electrons.com>
Newsgroups linux.kernel
Subject Re: [PATCH 4/6] parisc: rtc: provide rtc_class_ops directly
Date 2016-03-10 05:40 +0100
Message-ID <rb0ye-1LE-3@gated-at.bofh.it> (permalink)
References <r7VY6-3zV-17@gated-at.bofh.it> <r7VY7-3zV-47@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 01/03/2016 at 18:00:00 +0100, Arnd Bergmann wrote :
> -	pdev = platform_device_register_simple("rtc-generic", -1, NULL, 0);
> +	pdev = platform_device_register_data(NULL, "rtc-generic", -1,
> +					     &rtc_generic_ops,
> +					     sizeof(rtc_generic_ops));
> +
> +

spurious blank line

>  	return PTR_ERR_OR_ZERO(pdev);
>  }
>  device_initcall(rtc_init);
> -- 
> 2.7.0
> 

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 4/6] parisc: rtc: provide rtc_class_ops directly Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-03-10 05:40 +0100

csiph-web