udev: drop util_log_priority() and use log_level_from_string()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 29 Oct 2018 07:50:39 +0000 (16:50 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 12 Nov 2018 14:25:40 +0000 (23:25 +0900)
commit46f0fbd8fd8ed1428b6f038b88375935e722eeaa
tree0c034f3c25b5feb0a15aa5bd985379fd2fa4d3f6
parent9d9264ba39f797d20100c8acfda3df895ab5aaa2
udev: drop util_log_priority() and use log_level_from_string()

The function util_log_priority() is almost same as
log_level_from_string(). The difference between them is only that
util_log_priority() accepts such that '3 hogehoge'.
src/libudev/libudev-private.h
src/libudev/libudev-util.c
src/udev/udevadm-control.c
src/udev/udevd.c