mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-10-06 00:01:01 +02:00
UART device can be removed/added dynamically based on the requirement. Currently removing UART device using platform_unregister_device(), device is crashing with NULL pointer dereference error for debugfs entry node. Also add probe function as __devinit instead of __init section. Change-Id: I058c9093d79d90eb32fb34835cb4ebb1ef4fa704 Signed-off-by: Mayank Rana <mrana@codeaurora.org>