mac_pton: Clean up the header inclusions
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 4 Jun 2023 13:28:58 +0000 (16:28 +0300)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 6 Jun 2023 11:18:32 +0000 (13:18 +0200)
commit8d2b2281aea90ab265733c3cda83b73a01ca352f
treec8b856aa042e4c551989f983f8f198980369dd76
parent7b355b76e2b32cc516969c01984efdf49b11fc81
mac_pton: Clean up the header inclusions

Since hex_to_bin() is provided by hex.h there is no need to require
kernel.h. Replace the latter by the former and add missing export.h.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230604132858.6650-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
lib/net_utils.c