Commit af1ef32b authored by Ankit Nautiyal's avatar Ankit Nautiyal Committed by Ramalingam C

lib: Use generic names for APIs that handle uevents

The functions for handling uevents are named with "_hotplug" as suffix
such as igt_watch_hotplug(). Earlier hotplug was the only uevent that
was requested to be detected, but in fact, these APIs are generic and
can be used for detecting other uevents too.

Currently we have tests like kms_lease, kms_content_protection using
the uevent handling infrastructure for detecting uevents other than
hotplug.

This patch renames the functions and replace the "_hotplug" suffix
with "_uevents".

v2: Rebase
v3: Added changes in lib igt_chamelium.c, that was missed earlier.
Signed-off-by: Ankit Nautiyal's avatarAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Suggested-by: Ramalingam C's avatarRamalingam C <ramalingam.c@intel.com>
Suggested-by: Arkadiusz Hiler's avatarHiler, Arkadiusz <arkadiusz.hiler@intel.com>
Reviewed-by: Ramalingam C's avatarRamalingam C <ramalingam.c@intel.com>
Acked-by: Arkadiusz Hiler's avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
parent 66e2683a
Pipeline #167861 passed with stages
in 11 minutes and 38 seconds