notro / fbtft

Linux Framebuffer drivers for small TFT LCD display modules. Development has moved to https://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/tree/drivers/staging/fbtft?h=staging-testing
1.86k stars 494 forks source link

All drivers should use write_reg() #23

Closed notro closed 11 years ago

notro commented 11 years ago

write_reg() was meant to superseed write_cmd() and write_data(). After write_reg() was added, the flexfb driver came, and it didn't know beforehand the number of data values. Thus write_cmd/data stayed.

Either I change fbtft_ops.write_reg() to take an array, or I make a workaround for flexfb.

Drivers to be converted

notro commented 11 years ago

All use write_reg(). write_cmd() and write_data() is removed: https://github.com/notro/fbtft/commit/8bbab67d942b5035daf807a8fb611c168c5243c1