It's cleaned up through devres anyway now so there's no need for
compat with the old .remove method.
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
misc_deregister(&st->miscdev);
}
-#if LINUX_VERSION_CODE < KERNEL_VERSION(6,11,0)
-static int vmclock_remove_old(struct platform_device *pdev)
-{
- vmclock_remove(pdev);
- return 0;
-}
-#define vmclock_remove vmclock_remove_old
-#endif
-
static acpi_status vmclock_acpi_resources(struct acpi_resource *ares, void *data)
{
struct vmclock_state *st = data;