]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/pch/pch-uclass.c
dm: pch: Remove pch_get_version op
[people/ms/u-boot.git] / drivers / pch / pch-uclass.c
index 4579ed12f65b5fb33809d2dc1d70d83e6623af22..cae4f50e57a401040c8966a8f370cccef0b5acd3 100644 (file)
@@ -23,16 +23,6 @@ int pch_get_sbase(struct udevice *dev, ulong *sbasep)
        return ops->get_sbase(dev, sbasep);
 }
 
-enum pch_version pch_get_version(struct udevice *dev)
-{
-       struct pch_ops *ops = pch_get_ops(dev);
-
-       if (!ops->get_version)
-               return -ENOSYS;
-
-       return ops->get_version(dev);
-}
-
 int pch_set_spi_protect(struct udevice *dev, bool protect)
 {
        struct pch_ops *ops = pch_get_ops(dev);