staging: dgnc: Move utility functions out of dgnc_driver.c
authorKonrad Zapalowicz <bergo.torino@gmail.com>
Wed, 6 Aug 2014 12:21:23 +0000 (14:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:13 +0000 (12:23 -0700)
This commit moves the utility functions out of dgnc_driver.c file and
puts them in the new dgnc_utils.{c,h} files. The accompanying changes
adjust the existing code to work with this design.

Signed-off-by: Konrad Zapalowicz <bergo.torino@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/Makefile
drivers/staging/dgnc/dgnc_driver.c
drivers/staging/dgnc/dgnc_driver.h
drivers/staging/dgnc/dgnc_tty.c
drivers/staging/dgnc/dgnc_utils.c [new file with mode: 0644]
drivers/staging/dgnc/dgnc_utils.h [new file with mode: 0644]

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge