how to hide text format tips for text field in a module, not theme?
Here is the simple code you can write your role base logic in hidetips_test_node_form_after_build() fuction.


function hidetips_form_node_form_alter(&$form, &$form_state) {
  $form['#after_build'][] = 'hidetips_test_node_form_after_build';
}

function hidetips_test_node_form_after_build($form) {
  // Here you can write your logic for role based hide and display.
  $form['body']['und']['0']['format']['#access'] = FALSE;
    return $form;
}