1. generate driver patch
a. diff -ruNp /dev/null toutch.c > touch.patch
b. if using git, git diff [--cached] > touch.patch will be used
2. check your patch with scripts/chechpatch.pl, which is located in linux kernel directory
1. generate driver patch
a. diff -ruNp /dev/null toutch.c > touch.patch
b. if using git, git diff [--cached] > touch.patch will be used
2. check your patch with scripts/chechpatch.pl, which is located in linux kernel directory