diff --git a/drivers/rtc/nvvrs-pseq-rtc.c b/drivers/rtc/nvvrs-pseq-rtc.c index 16424338..dfb6f234 100644 --- a/drivers/rtc/nvvrs-pseq-rtc.c +++ b/drivers/rtc/nvvrs-pseq-rtc.c @@ -396,17 +396,10 @@ static const struct rtc_class_ops nvvrs_rtc_ops = { static int nvvrs_rtc_probe(struct platform_device *pdev) { struct nvvrs_rtc_info *info; - struct device_node *np; struct device *parent; struct i2c_client *client; int ret = 0; - np = of_get_child_by_name(pdev->dev.parent->of_node, "rtc"); - if (np && !of_device_is_available(np)) { - dev_err(&pdev->dev, "Missing rtc device node\n"); - return -ENODEV; - } - info = devm_kzalloc(&pdev->dev, sizeof(struct nvvrs_rtc_info), GFP_KERNEL); if (!info) { dev_err(&pdev->dev, "Failed to allocate memory\n");