driver core: remove incorrect comment for device_create*
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 2 Apr 2023 09:11:18 +0000 (11:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Apr 2023 17:57:46 +0000 (19:57 +0200)
commita131e33715fca8a047bdfc3d67b10eb743eea4b0
tree0a47fe93c7f8caf9e051f57cb5106d1e1750cac9
parent5b524e4d16685a548ba143551709ded609d8ee05
driver core: remove incorrect comment for device_create*

The device_create() and device_create_with_groups() function comments
incorrectly state that they only work with a struct class that was
created using class_create(), but that is not true now and I am not sure
if it ever was.  So just remove the comment as it's not needed now.

Acked-by: Rafael J. Wysocki <rafael@kernel.org>
Link: https://lore.kernel.org/r/2023040218-scouts-unplowed-24d2@gregkh
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/core.c