Just set up the show callback in the tty_operations, and use proc_create_single_data to create the file without additional boilerplace code. Signed-off-by: Christoph Hellwig <hch@lst.de> |
||
|---|---|---|
| .. | ||
| cm4000_cs.c | ||
| cm4040_cs.c | ||
| cm4040_cs.h | ||
| Kconfig | ||
| Makefile | ||
| scr24x_cs.c | ||
| synclink_cs.c | ||