This guide provides an introduction to Linux kernel module programming. You can find the PDF on GitHub.
The best starting point for a "full" guide available on GitHub is Linux Kernel Module Programming Guide (LKMPG) linux kernel programming pdf github full