diff options
| author | Dong Aisheng <[email protected]> | 2012-07-11 15:16:37 +1000 |
|---|---|---|
| committer | Benjamin Herrenschmidt <[email protected]> | 2012-07-11 15:26:51 +1000 |
| commit | 475d0094293b51353e342d1198377967dbc48169 (patch) | |
| tree | b10a01706dd433b93353600a00491ce62e385ec9 /drivers/scsi/mpt3sas/mpi/mpi2_raid.h | |
| parent | b416c9a10baae6a177b4f9ee858b8d309542fbef (diff) | |
of: Improve prom_update_property() function
prom_update_property() currently fails if the property doesn't
actually exist yet which isn't what we want. Change to add-or-update
instead of update-only, then we can remove a lot duplicated lines.
Suggested-by: Grant Likely <[email protected]>
Signed-off-by: Dong Aisheng <[email protected]>
Acked-by: Rob Herring <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions