Non-alcoholic fatty liver disease is associated with an increased prevalence of atrial fibrillation in hospitalized patients with type 2 diabetes.