disk: Fix LOG Kconfig typo

CONFIG_DISC_LOG_LEVEL Should be CONFIG_DISK_LOG_LEVEL. In cleaning
this up use LOG_MODULE_REGISTER(x,y) form to reduce 2 lines to 1.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2019-02-12 00:01:54 -06:00 committed by Anas Nashif
commit eaa2347596

View file

@ -4,9 +4,9 @@
* SPDX-License-Identifier: Apache-2.0
*/
#define LOG_LEVEL CONFIG_DISC_LOG_LEVEL
#include <logging/log.h>
LOG_MODULE_REGISTER(sdhc);
LOG_MODULE_REGISTER(sdhc, CONFIG_DISK_LOG_LEVEL);
#include <disk_access.h>
#include <gpio.h>