From d49777b00e844ac77e0f3b0cfb9b9e07257b4c26 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Thu, 17 Jan 2019 17:24:51 +0200 Subject: Revert "py: add open_modesetting_card" This reverts commit 27f1c296c4f5996227b28215400c787ea018862b. --- py/pykms/pykmsbase.cpp | 2 -- py/tests/test.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'py') diff --git a/py/pykms/pykmsbase.cpp b/py/pykms/pykmsbase.cpp index 4b46d55..668e6e3 100644 --- a/py/pykms/pykmsbase.cpp +++ b/py/pykms/pykmsbase.cpp @@ -20,8 +20,6 @@ static vector> convert_vector(const vector& sour void init_pykmsbase(py::module &m) { py::class_(m, "Card") - .def_static("open_modesetting_card", []() { return Card::open_modesetting_card(); }) - .def(py::init<>()) .def(py::init()) .def(py::init()) diff --git a/py/tests/test.py b/py/tests/test.py index 45cf6e9..83cf16a 100755 --- a/py/tests/test.py +++ b/py/tests/test.py @@ -13,7 +13,7 @@ args = parser.parse_args() if args.omap: card = pykms.OmapCard() else: - card = pykms.Card.open_modesetting_card() + card = pykms.Card() res = pykms.ResourceManager(card) conn = res.reserve_connector(args.connector) -- cgit v1.2.3