usb: typec: ucsi: Changing the driver data type to void
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Tue, 18 Jun 2024 12:00:24 +0000 (15:00 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Jun 2024 17:31:16 +0000 (19:31 +0200)
Let's use the same data type as struct device.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20240618120024.3384047-1-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi.h

index 97eda8cd63df32c08060975e4d82d247f1f6e336..1280cac314fea15cd550728e392e5ab2d1accf36 100644 (file)
@@ -395,7 +395,7 @@ struct ucsi_debugfs_entry {
 struct ucsi {
        u16 version;
        struct device *dev;
-       struct driver_data *driver_data;
+       void *driver_data;
 
        const struct ucsi_operations *ops;