NetworkManager/src/devices/adsl
Thomas Haller 7b91e8b6db device: don't use platform singleton getter in device subclasses
Reduce the use of NM_PLATFORM_GET / nm_platform_get() to get
the platform singleton instance.

For one, this is a step towards supporting namespaces, where we need
to use different NMNetns/NMPlatform instances depending on in which
namespace the device lives.

Also, we should reduce our use of singletons. They are difficult to
coordinate on shutdown. Instead there should be a clear order of
dependencies, expressed by owning a reference to those singelton
instances. We already own a reference to the platform singelton,
so use it and avoid NM_PLATFORM_GET.

(cherry picked from commit 94d9ee129d)
2017-04-18 15:53:11 +02:00
..
nm-atm-manager.c udev: drop libgudev in favor of libudev 2017-03-22 12:41:06 +01:00
nm-device-adsl.c device: don't use platform singleton getter in device subclasses 2017-04-18 15:53:11 +02:00
nm-device-adsl.h build: don't add subdirectories to include search path but require qualified include 2016-11-21 14:26:37 +01:00