diff options
author | Kieran Bingham <kieran@bingham.xyz> | 2016-10-10 15:46:49 +0100 |
---|---|---|
committer | Kieran Bingham <kieran@bingham.xyz> | 2016-10-26 11:43:44 +0100 |
commit | 40fccd933f5b772535fd4cf81d5fee3865c871d0 (patch) | |
tree | 4ea39c30434153a759bcbb142435733bac295b92 | |
parent | a69017753f090947b44ce16c2c985f481d0e188d (diff) | |
download | linux-i2c-dt/v4.8-probe-conversion.tar.gz |
DNI: Helper script for conversioni2c-dt/v4.8-probe-conversion
-rwxr-xr-x | i2c-convert | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/i2c-convert b/i2c-convert new file mode 100755 index 00000000000000..3a6755e8e8eca0 --- /dev/null +++ b/i2c-convert @@ -0,0 +1,17 @@ +#!/bin/sh + +files=`git status -s | grep "^ M" | printarg 2 | head -n 1` + +for f in $files; do + echo $f; + git add -p $f + git log --pretty=oneline $f + read a + git commit -sm "Remove unused i2c_device_id + +Convert to the interim probe_new() function, with struct i2c_device_id +removed, as part of the conversion process to a simplified i2c-core probe +function." + git commit --amend + git checkout -p $f +done; |