aboutsummaryrefslogtreecommitdiff
path: root/kapi/gdb/devices/device.py
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-07-21 17:33:13 +0200
committerFelix Morgner <felix.morgner@ost.ch>2026-07-21 17:33:13 +0200
commit93de74017095f86a6c62447938ec6169a5184c45 (patch)
treeff5087083a953e783ff43ea4b64944564b1d67ad /kapi/gdb/devices/device.py
parent4539791823a2fb1506e9091ec5087c80a87adfde (diff)
downloadkernel-93de74017095f86a6c62447938ec6169a5184c45.tar.xz
kernel-93de74017095f86a6c62447938ec6169a5184c45.zip
kapi: remove major number allocator
Diffstat (limited to 'kapi/gdb/devices/device.py')
-rw-r--r--kapi/gdb/devices/device.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/kapi/gdb/devices/device.py b/kapi/gdb/devices/device.py
index 8e515ef8..58f6ea59 100644
--- a/kapi/gdb/devices/device.py
+++ b/kapi/gdb/devices/device.py
@@ -7,12 +7,10 @@ class KapiDevicesDevicePrinter(gdb.ValuePrinter):
def to_string(self):
return (
- f"{self.__val['m_name']} @ {self.__val['m_major']}:{self.__val['m_minor']}"
+ f"{self.__val['m_name']}"
)
def children(self):
- yield ("major", self.__val["m_major"])
- yield ("minor", self.__val["m_minor"])
yield ("name", self.__val["m_name"])
yield ("parent", self.__val["m_parent"])