Skip to content

Commit

Permalink
serial: mrst_max3110: some code cleanup
Browse files Browse the repository at this point in the history
The cleanup for mrst_max3110 includes:
* remove unneeded head files
* make the spi_transfer dma safe, so that driver is more portable
* add more check for error return value
* use mutex_trylock for read thread

Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Feng Tang authored and Greg Kroah-Hartman committed Oct 22, 2010
1 parent b670bde commit ee9b450
Show file tree
Hide file tree
Showing 2 changed files with 201 additions and 127 deletions.
Loading

0 comments on commit ee9b450

Please sign in to comment.