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 <[email protected]>
Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
ftang1 authored and gregkh 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.