{"action":"closed","number":9299,"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/9299","id":192950514,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyOTUwNTE0","html_url":"https://github.com/RIOT-OS/RIOT/pull/9299","diff_url":"https://github.com/RIOT-OS/RIOT/pull/9299.diff","patch_url":"https://github.com/RIOT-OS/RIOT/pull/9299.patch","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/9299","number":9299,"state":"closed","locked":false,"title":"drivers/lsm6dsl: adapt the i2c api return codes","user":{"login":"aabadie","id":1375137,"node_id":"MDQ6VXNlcjEzNzUxMzc=","avatar_url":"https://avatars3.githubusercontent.com/u/1375137?v=4","gravatar_id":"","url":"https://api.github.com/users/aabadie","html_url":"https://github.com/aabadie","followers_url":"https://api.github.com/users/aabadie/followers","following_url":"https://api.github.com/users/aabadie/following{/other_user}","gists_url":"https://api.github.com/users/aabadie/gists{/gist_id}","starred_url":"https://api.github.com/users/aabadie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aabadie/subscriptions","organizations_url":"https://api.github.com/users/aabadie/orgs","repos_url":"https://api.github.com/users/aabadie/repos","events_url":"https://api.github.com/users/aabadie/events{/privacy}","received_events_url":"https://api.github.com/users/aabadie/received_events","type":"User","site_admin":false},"body":"<!--\r\nThe RIOT community cares a lot about code quality.\r\nTherefore, before describing what your contribution is about, we would like\r\nyou to make sure that your modifications are compliant with the RIOT\r\ncoding conventions, see https://github.com/RIOT-OS/RIOT/wiki/Coding-conventions.\r\n-->\r\n\r\n### Contribution description\r\n\r\nThis PR readapts the lsm6dsl driver to the I2C return codes (< 0 in case of an error, 0 on success).\r\n\r\n<!--\r\nPut here the description of your contribution:\r\n- describe which part(s) of RIOT is (are) involved\r\n- if it's a bug fix, describe the bug that it solves and how it is solved\r\n- you can also give more information to reviewers about how to test your changes\r\n-->\r\n\r\n\r\n### Issues/PRs references\r\n\r\nFollow-up of #9193 and related to #6577 \r\n\r\n<!--\r\nExamples: Fixes #1234. See also #5678. Depends on PR #9876.\r\n\r\nPlease use keywords (e.g., fixes, resolve) with the links to the issues you\r\nresolved, this way they will be automatically closed when your pull request\r\nis merged. See https://help.github.com/articles/closing-issues-using-keywords/.\r\n-->","created_at":"2018-06-06T09:20:54Z","updated_at":"2018-06-28T17:45:22Z","closed_at":"2018-06-28T17:45:22Z","merged_at":"2018-06-28T17:45:22Z","merge_commit_sha":"b2782ee3a6fb7f2a52f0a2940419fa73e57054da","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":941239592,"node_id":"MDU6TGFiZWw5NDEyMzk1OTI=","url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/I2C%20REWORK","name":"I2C REWORK","color":"174389","default":false},{"id":135467271,"node_id":"MDU6TGFiZWwxMzU0NjcyNzE=","url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/driver","name":"driver","color":"aaffff","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/9299/commits","review_comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/9299/comments","review_comment_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/9299/comments","statuses_url":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/06d194f95ea3d48ee685e992c165503e585f842e","head":{"label":"aabadie:new_i2c_lsm6dsl","ref":"new_i2c_lsm6dsl","sha":"06d194f95ea3d48ee685e992c165503e585f842e","user":{"login":"aabadie","id":1375137,"node_id":"MDQ6VXNlcjEzNzUxMzc=","avatar_url":"https://avatars3.githubusercontent.com/u/1375137?v=4","gravatar_id":"","url":"https://api.github.com/users/aabadie","html_url":"https://github.com/aabadie","followers_url":"https://api.github.com/users/aabadie/followers","following_url":"https://api.github.com/users/aabadie/following{/other_user}","gists_url":"https://api.github.com/users/aabadie/gists{/gist_id}","starred_url":"https://api.github.com/users/aabadie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aabadie/subscriptions","organizations_url":"https://api.github.com/users/aabadie/orgs","repos_url":"https://api.github.com/users/aabadie/repos","events_url":"https://api.github.com/users/aabadie/events{/privacy}","received_events_url":"https://api.github.com/users/aabadie/received_events","type":"User","site_admin":false},"repo":{"id":44016379,"node_id":"MDEwOlJlcG9zaXRvcnk0NDAxNjM3OQ==","name":"RIOT","full_name":"aabadie/RIOT","owner":{"login":"aabadie","id":1375137,"node_id":"MDQ6VXNlcjEzNzUxMzc=","avatar_url":"https://avatars3.githubusercontent.com/u/1375137?v=4","gravatar_id":"","url":"https://api.github.com/users/aabadie","html_url":"https://github.com/aabadie","followers_url":"https://api.github.com/users/aabadie/followers","following_url":"https://api.github.com/users/aabadie/following{/other_user}","gists_url":"https://api.github.com/users/aabadie/gists{/gist_id}","starred_url":"https://api.github.com/users/aabadie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aabadie/subscriptions","organizations_url":"https://api.github.com/users/aabadie/orgs","repos_url":"https://api.github.com/users/aabadie/repos","events_url":"https://api.github.com/users/aabadie/events{/privacy}","received_events_url":"https://api.github.com/users/aabadie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aabadie/RIOT","description":"RIOT -  The friendly OS for IoT","fork":true,"url":"https://api.github.com/repos/aabadie/RIOT","forks_url":"https://api.github.com/repos/aabadie/RIOT/forks","keys_url":"https://api.github.com/repos/aabadie/RIOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aabadie/RIOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aabadie/RIOT/teams","hooks_url":"https://api.github.com/repos/aabadie/RIOT/hooks","issue_events_url":"https://api.github.com/repos/aabadie/RIOT/issues/events{/number}","events_url":"https://api.github.com/repos/aabadie/RIOT/events","assignees_url":"https://api.github.com/repos/aabadie/RIOT/assignees{/user}","branches_url":"https://api.github.com/repos/aabadie/RIOT/branches{/branch}","tags_url":"https://api.github.com/repos/aabadie/RIOT/tags","blobs_url":"https://api.github.com/repos/aabadie/RIOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aabadie/RIOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aabadie/RIOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/aabadie/RIOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aabadie/RIOT/statuses/{sha}","languages_url":"https://api.github.com/repos/aabadie/RIOT/languages","stargazers_url":"https://api.github.com/repos/aabadie/RIOT/stargazers","contributors_url":"https://api.github.com/repos/aabadie/RIOT/contributors","subscribers_url":"https://api.github.com/repos/aabadie/RIOT/subscribers","subscription_url":"https://api.github.com/repos/aabadie/RIOT/subscription","commits_url":"https://api.github.com/repos/aabadie/RIOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/aabadie/RIOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/aabadie/RIOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/aabadie/RIOT/issues/comments{/number}","contents_url":"https://api.github.com/repos/aabadie/RIOT/contents/{+path}","compare_url":"https://api.github.com/repos/aabadie/RIOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aabadie/RIOT/merges","archive_url":"https://api.github.com/repos/aabadie/RIOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aabadie/RIOT/downloads","issues_url":"https://api.github.com/repos/aabadie/RIOT/issues{/number}","pulls_url":"https://api.github.com/repos/aabadie/RIOT/pulls{/number}","milestones_url":"https://api.github.com/repos/aabadie/RIOT/milestones{/number}","notifications_url":"https://api.github.com/repos/aabadie/RIOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aabadie/RIOT/labels{/name}","releases_url":"https://api.github.com/repos/aabadie/RIOT/releases{/id}","deployments_url":"https://api.github.com/repos/aabadie/RIOT/deployments","created_at":"2015-10-10T15:36:27Z","updated_at":"2018-06-08T20:49:34Z","pushed_at":"2018-06-28T13:17:17Z","git_url":"git://github.com/aabadie/RIOT.git","ssh_url":"git@github.com:aabadie/RIOT.git","clone_url":"https://github.com/aabadie/RIOT.git","svn_url":"https://github.com/aabadie/RIOT","homepage":"https://github.com/RIOT-OS/RIOT/wiki","size":54540,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"lgpl-2.1","name":"GNU Lesser General Public License v2.1","spdx_id":"LGPL-2.1","url":"https://api.github.com/licenses/lgpl-2.1","node_id":"MDc6TGljZW5zZTEx"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RIOT-OS:new_i2c_if","ref":"new_i2c_if","sha":"a2ee6ea0c6f7f22db906500496e9e201d43d311a","user":{"login":"RIOT-OS","id":3079480,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwNzk0ODA=","avatar_url":"https://avatars2.githubusercontent.com/u/3079480?v=4","gravatar_id":"","url":"https://api.github.com/users/RIOT-OS","html_url":"https://github.com/RIOT-OS","followers_url":"https://api.github.com/users/RIOT-OS/followers","following_url":"https://api.github.com/users/RIOT-OS/following{/other_user}","gists_url":"https://api.github.com/users/RIOT-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RIOT-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIOT-OS/subscriptions","organizations_url":"https://api.github.com/users/RIOT-OS/orgs","repos_url":"https://api.github.com/users/RIOT-OS/repos","events_url":"https://api.github.com/users/RIOT-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RIOT-OS/received_events","type":"Organization","site_admin":false},"repo":{"id":7370241,"node_id":"MDEwOlJlcG9zaXRvcnk3MzcwMjQx","name":"RIOT","full_name":"RIOT-OS/RIOT","owner":{"login":"RIOT-OS","id":3079480,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwNzk0ODA=","avatar_url":"https://avatars2.githubusercontent.com/u/3079480?v=4","gravatar_id":"","url":"https://api.github.com/users/RIOT-OS","html_url":"https://github.com/RIOT-OS","followers_url":"https://api.github.com/users/RIOT-OS/followers","following_url":"https://api.github.com/users/RIOT-OS/following{/other_user}","gists_url":"https://api.github.com/users/RIOT-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RIOT-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIOT-OS/subscriptions","organizations_url":"https://api.github.com/users/RIOT-OS/orgs","repos_url":"https://api.github.com/users/RIOT-OS/repos","events_url":"https://api.github.com/users/RIOT-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RIOT-OS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RIOT-OS/RIOT","description":"RIOT -  The friendly OS for IoT","fork":false,"url":"https://api.github.com/repos/RIOT-OS/RIOT","forks_url":"https://api.github.com/repos/RIOT-OS/RIOT/forks","keys_url":"https://api.github.com/repos/RIOT-OS/RIOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RIOT-OS/RIOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RIOT-OS/RIOT/teams","hooks_url":"https://api.github.com/repos/RIOT-OS/RIOT/hooks","issue_events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/events{/number}","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/events","assignees_url":"https://api.github.com/repos/RIOT-OS/RIOT/assignees{/user}","branches_url":"https://api.github.com/repos/RIOT-OS/RIOT/branches{/branch}","tags_url":"https://api.github.com/repos/RIOT-OS/RIOT/tags","blobs_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/{sha}","languages_url":"https://api.github.com/repos/RIOT-OS/RIOT/languages","stargazers_url":"https://api.github.com/repos/RIOT-OS/RIOT/stargazers","contributors_url":"https://api.github.com/repos/RIOT-OS/RIOT/contributors","subscribers_url":"https://api.github.com/repos/RIOT-OS/RIOT/subscribers","subscription_url":"https://api.github.com/repos/RIOT-OS/RIOT/subscription","commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments{/number}","contents_url":"https://api.github.com/repos/RIOT-OS/RIOT/contents/{+path}","compare_url":"https://api.github.com/repos/RIOT-OS/RIOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RIOT-OS/RIOT/merges","archive_url":"https://api.github.com/repos/RIOT-OS/RIOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RIOT-OS/RIOT/downloads","issues_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues{/number}","pulls_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls{/number}","milestones_url":"https://api.github.com/repos/RIOT-OS/RIOT/milestones{/number}","notifications_url":"https://api.github.com/repos/RIOT-OS/RIOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/labels{/name}","releases_url":"https://api.github.com/repos/RIOT-OS/RIOT/releases{/id}","deployments_url":"https://api.github.com/repos/RIOT-OS/RIOT/deployments","created_at":"2012-12-29T20:38:40Z","updated_at":"2018-06-28T17:07:24Z","pushed_at":"2018-06-28T17:45:22Z","git_url":"git://github.com/RIOT-OS/RIOT.git","ssh_url":"git@github.com:RIOT-OS/RIOT.git","clone_url":"https://github.com/RIOT-OS/RIOT.git","svn_url":"https://github.com/RIOT-OS/RIOT","homepage":"https://github.com/RIOT-OS/RIOT/wiki","size":54218,"stargazers_count":1844,"watchers_count":1844,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1083,"mirror_url":null,"archived":false,"open_issues_count":769,"license":{"key":"lgpl-2.1","name":"GNU Lesser General Public License v2.1","spdx_id":"LGPL-2.1","url":"https://api.github.com/licenses/lgpl-2.1","node_id":"MDc6TGljZW5zZTEx"},"forks":1083,"open_issues":769,"watchers":1844,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/9299"},"html":{"href":"https://github.com/RIOT-OS/RIOT/pull/9299"},"issue":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/9299"},"comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/9299/comments"},"review_comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/9299/comments"},"review_comment":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/9299/commits"},"statuses":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/06d194f95ea3d48ee685e992c165503e585f842e"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"aabadie","id":1375137,"node_id":"MDQ6VXNlcjEzNzUxMzc=","avatar_url":"https://avatars3.githubusercontent.com/u/1375137?v=4","gravatar_id":"","url":"https://api.github.com/users/aabadie","html_url":"https://github.com/aabadie","followers_url":"https://api.github.com/users/aabadie/followers","following_url":"https://api.github.com/users/aabadie/following{/other_user}","gists_url":"https://api.github.com/users/aabadie/gists{/gist_id}","starred_url":"https://api.github.com/users/aabadie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aabadie/subscriptions","organizations_url":"https://api.github.com/users/aabadie/orgs","repos_url":"https://api.github.com/users/aabadie/repos","events_url":"https://api.github.com/users/aabadie/events{/privacy}","received_events_url":"https://api.github.com/users/aabadie/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":14,"deletions":14,"changed_files":1}}
{"actor":{"display_login":"aabadie"}}