The patch series proposes to transition the driver from using atomic_t APIs to refcount_t APIs for reference count management. Note: patch 2/2 depends on patch 1/2. Hence please apply path 1/2 first. Changes in v3: 1. Patch series introduced rather than individual patches. 2. Update patch subject line to indicate the atomic_t variable being changed Changes in v2: 1. Separate the change to patch per variable rather than combining multiple atomic variable changes into a single patch. Please note: The patches are compile tested using dec_station.defconfig for MIPS architecture. Deepak R Varma (2): tty: serial: dz: convert atomic_* to refcount_* APIs for map_guard tty: serial: dz: convert atomic_* to refcount_* APIs for irq_guard drivers/tty/serial/dz.c | 40 +++++++++++++++------------------------- 1 file changed, 15 insertions(+), 25 deletions(-) -- 2.34.1