Browse Source

fs: update module logging registration

All modules registered in fs subsystem uses:

LOG_MODULE_REGISTER(<module>, <log level>)

Lets update fs to follow same logic.

Signed-off-by: Kiara Navarro <knavarro@paltatech.com>
pull/87723/head
Kiara Navarro 4 months ago committed by Benjamin Cabé
parent
commit
9207a1bcd7
  1. 4
      subsys/fs/fs.c

4
subsys/fs/fs.c

@ -16,10 +16,8 @@ @@ -16,10 +16,8 @@
#include <zephyr/fs/fs_sys.h>
#include <zephyr/sys/check.h>
#define LOG_LEVEL CONFIG_FS_LOG_LEVEL
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(fs);
LOG_MODULE_REGISTER(fs, CONFIG_FS_LOG_LEVEL);
/* list of mounted file systems */
static sys_dlist_t fs_mnt_list = SYS_DLIST_STATIC_INIT(&fs_mnt_list);

Loading…
Cancel
Save