Skip to content

Commit

Permalink
iommu/fsl: Various cleanups
Browse files Browse the repository at this point in the history
Currently a PAMU driver patch is very likely to receive some
checkpatch complaints about the code in the context of the
patch. This patch is an attempt to fix most of that and make
the driver more readable

Also fixed a subset of the sparse and coccinelle reported
issues.

Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
  • Loading branch information
Emil Medve authored and Joerg Roedel committed Feb 3, 2015
1 parent 8cd4f75 commit cd70d46
Show file tree
Hide file tree
Showing 4 changed files with 179 additions and 216 deletions.
4 changes: 2 additions & 2 deletions arch/powerpc/include/asm/fsl_pamu_stash.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ enum pamu_stash_target {
*/

struct pamu_stash_attribute {
u32 cpu; /* cpu number */
u32 cache; /* cache to stash to: L1,L2,L3 */
u32 cpu; /* cpu number */
u32 cache; /* cache to stash to: L1,L2,L3 */
};

#endif /* __FSL_PAMU_STASH_H */
Loading

0 comments on commit cd70d46

Please sign in to comment.