# \[rtc-linux\] Re: \[PATCH v2 03/16\] device-dax: utilize new cdev\_device\_add helper function

- From: Dan Williams \<hidden\>
- Date: 2017-02-26 22:31:40 
- List: linux-rtc
- Page: https://ratatoskr.run/linux-rtc/2017/02/118242
- Thread: https://ratatoskr.run/linux-fsdevel/2017/02/118242/t.md

```text
On Sat, Feb 25, 2017 at 10:38 PM, Logan Gunthorpe [ref] wrote:
> Replace the open coded registration of the cdev and dev with the
> new device_add_cdev() helper. The helper replaces a common pattern by
> taking the proper reference against the parent device and adding both
> the cdev and the device.
>
> Signed-off-by: Logan Gunthorpe <logang@deltatee.com>

Thanks,

Reviewed-by: Dan Williams <redacted>

-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
```
